The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Adding Background in Posts.

3 posters

Go down

Adding Background in Posts. Empty Adding Background in Posts.

Post by Saxaca 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
Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Adding Background in Posts. Empty Re: Adding Background in Posts.

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

Bump!
Saxaca
Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Adding Background in Posts. Empty Re: Adding Background in Posts.

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

Bump!
Saxaca
Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Adding Background in Posts. Empty Re: Adding Background in Posts.

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

hmm try this:

Code:

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


Back to top Go down

Adding Background in Posts. Empty Re: Adding Background in Posts.

Post by ifureadthisdie 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
avatar
ifureadthisdie
Forumember

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

http://www.thespritas.com

Back to top Go down

Adding Background in Posts. Empty Re: Adding Background in Posts.

Post by ankillien 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
ankillien
Energetic

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

Back to top Go down

Adding Background in Posts. Empty Re: Adding Background in Posts.

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

but it worked for ifureadthisdie Wink
avatar
Guest
Guest


Back to top Go down

Adding Background in Posts. Empty Re: Adding Background in Posts.

Post by ankillien 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
ankillien
Energetic

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

Back to top Go down

Adding Background in Posts. Empty Re: Adding Background in Posts.

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

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


Back to top Go down

Adding Background in Posts. Empty Re: Adding Background in Posts.

Post by ankillien 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
ankillien
Energetic

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

Back to top Go down

Adding Background in Posts. Empty Re: Adding Background in Posts.

Post by Guest 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
avatar
Guest
Guest


Back to top Go down

Adding Background in Posts. Empty Re: Adding Background in Posts.

Post by ifureadthisdie 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.
avatar
ifureadthisdie
Forumember

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

http://www.thespritas.com

Back to top Go down

Adding Background in Posts. Empty Re: Adding Background in Posts.

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

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

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Adding Background in Posts. Empty Re: Adding Background in Posts.

Post by ankillien 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
ankillien
Energetic

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

Back to top Go down

Back to top

- Similar topics

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