The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Adding Background in Posts.

View previous topic View next topic Go down

Adding Background in Posts.

Post by Saxaca on July 26th 2010, 10:57 pm

Ok, i have an little "Scroll Picture". I want to use it as a background in my posts. Can it be done with HTML?

I have Html Enabled.

Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Re: Adding Background in Posts.

Post by Saxaca on July 27th 2010, 8:17 pm

Bump!

Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Re: Adding Background in Posts.

Post by Saxaca on July 29th 2010, 9:35 pm

Bump!

Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Re: Adding Background in Posts.

Post by Guest on July 29th 2010, 9:43 pm

hmm try this:

Code:

.postbody{
    font-size : 12px;
    line-height: 18px}
        background-image: url("IMAGE LINK HERE");
}

Guest
Guest


Back to top Go down

Re: Adding Background in Posts.

Post by ifureadthisdie on July 30th 2010, 12:36 am

@Gangstar15 wrote:hmm try this:

Code:

.postbody{
    font-size : 12px;
    line-height: 18px}
        background-image: url("IMAGE LINK HERE");
}
It worked for me! :3

ifureadthisdie
Forumember

Male Posts : 83
Reputation : 0
Language : English
Location : New York

http://www.thespritas.com

Back to top Go down

Re: Adding Background in Posts.

Post by ankillien on July 30th 2010, 5:17 am

@Gangstar15 wrote:hmm try this:

Code:

.postbody{
    font-size : 12px;
    line-height: 18px}
        background-image: url("IMAGE LINK HERE");
}

This code is incorrect, I don't think it will work.

This code should work on phpBB2...

Code:
.postbody {
background : url(IMAGE URL HERE) no-repeat right bottom;
}

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Re: Adding Background in Posts.

Post by Guest on July 30th 2010, 5:19 am

but it worked for ifureadthisdie Wink

Guest
Guest


Back to top Go down

Re: Adding Background in Posts.

Post by ankillien on July 30th 2010, 5:22 am

@Gangstar15 wrote:but it worked for ifureadthisdie Wink

It didn't work for me Wink and I know it is not going to work for anyone Wink

He member above want to put background in post while you are providing codes for font-size and line-height Shocked I don't know how it works for ifureadthisdie Rolling Eyes

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Re: Adding Background in Posts.

Post by Guest on July 30th 2010, 5:23 am

lol Very Happy i don't really know how it works, because i didn't tried it Smile

Guest
Guest


Back to top Go down

Re: Adding Background in Posts.

Post by ankillien on July 30th 2010, 5:26 am

@Gangstar15 wrote:lol Very Happy i don't really know how it works, because i didn't tried it Smile

Even if you don't try it, it is clear that font-size and line-height has nothing to do with background if you know CSS Wink

Where did you get the code anyway?

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Re: Adding Background in Posts.

Post by Guest on July 30th 2010, 5:28 am

aaa Very Happy you talk about the font-size and Very Happy.. i don't know much about CSS I'm a beginner, i just found it in my CSS and added the background code to it ;D

Guest
Guest


Back to top Go down

Re: Adding Background in Posts.

Post by ifureadthisdie on July 31st 2010, 12:22 am

Just removed the font size and line height thing and it worked for me. But getting the pic right will be a bit troublesome.

ifureadthisdie
Forumember

Male Posts : 83
Reputation : 0
Language : English
Location : New York

http://www.thespritas.com

Back to top Go down

Re: Adding Background in Posts.

Post by Saxaca on July 31st 2010, 10:36 am

I dont find that any of them works for me, in posts bwi

Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Re: Adding Background in Posts.

Post by ankillien on August 1st 2010, 4:14 am

If you are using phpBB2, this code must work. I have already tested it...

Code:
.postbody {
background : url(IMAGE URL HERE) no-repeat right bottom !important;
}

And remember, you have to replace 'IMAGE URL HERE' with your background image URL Wink

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum