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.

CSS Code to add background ?

2 posters

Go down

CSS Code to add background ? Empty CSS Code to add background ?

Post by kamikay May 2nd 2011, 2:14 am

IDK =/ Whenever I try to add a background, it stays black ! ( my site is http://bearvilleforums.friendhood.net/ )
I don't know if it's the image, or the CSS. I tried thousands of different pictures for backgrounds, but it wont work. Is there a CSS I can use to change the background? Thanks !
-Kami
kamikay
kamikay
New Member

Posts : 20
Reputation : 1
Language : americano, no?

Back to top Go down

CSS Code to add background ? Empty Re: CSS Code to add background ?

Post by Nera. May 2nd 2011, 7:18 am

Where are you trying to put it?
I found your logo (if it's logo, in body selector) puted it in logo selector and added a background-picture in your body and see what i get => (it's just an example, i took some flower picture)
http://i.imm.io/5mVW.png

This is the CSS for that:
Replace your body with mine in CSS.
Code:
body {
    background: url("YOUR FORUM BACKGROUND PICTURE GOES HERE") repeat scroll center top #000000;
    padding-top: 200px;


}

That little stripe picture goes here if you meant to have it appear on top. Replace your logo with mine in CSS.
Code:
#logo img {
    background-image: url("http://images2.layoutsparks.com/1/118065/disney-princess-rainbow-stripes-31000.gif");
    display: inline;
    left: 25px;
    position: relative;
    top: -125px;


}
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Back to top


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