Adding Background in Posts.
3 posters
Page 1 of 1
Adding Background in Posts.
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.
I have Html Enabled.
Saxaca- Forumember
- Posts : 539
Reputation : 26
Language : Markup.
Re: Adding Background in Posts.
hmm try this:
- Code:
.postbody{
font-size : 12px;
line-height: 18px}
background-image: url("IMAGE LINK HERE");
}
Guest- Guest
Re: Adding Background in Posts.
It worked for me! :3Gangstar15 wrote:hmm try this:
- Code:
.postbody{
font-size : 12px;
line-height: 18px}
background-image: url("IMAGE LINK HERE");
}
Re: Adding Background in Posts.
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
Re: Adding Background in Posts.
Gangstar15 wrote:but it worked for ifureadthisdie
It didn't work for me and I know it is not going to work for anyone
He member above want to put background in post while you are providing codes for font-size and line-height I don't know how it works for ifureadthisdie
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Adding Background in Posts.
lol i don't really know how it works, because i didn't tried it
Guest- Guest
Re: Adding Background in Posts.
Gangstar15 wrote:lol i don't really know how it works, because i didn't tried it
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
Where did you get the code anyway?
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Adding Background in Posts.
aaa you talk about the font-size and .. 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
Re: Adding Background in Posts.
Just removed the font size and line height thing and it worked for me. But getting the pic right will be a bit troublesome.
Re: Adding Background in Posts.
I dont find that any of them works for me, in posts
Saxaca- Forumember
- Posts : 539
Reputation : 26
Language : Markup.
Re: Adding Background in Posts.
If you are using phpBB2, this code must work. I have already tested it...
And remember, you have to replace 'IMAGE URL HERE' with your background image URL
- 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
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Similar topics
» Adding a background to a widget
» Adding Xbox Live Avatars to posts (in the background)
» No New Posts, New Posts, and Locked icon background.
» Adding Background
» Adding bg to posts
» Adding Xbox Live Avatars to posts (in the background)
» No New Posts, New Posts, and Locked icon background.
» Adding Background
» Adding bg to posts
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum