Log In · Register

 
 
Closed TopicStart new topic
background only on sides?
StrawberriKiwi7
post May 4 2006, 08:51 PM
Post #1


Senior Member
***

Group: Member
Posts: 55
Joined: Jun 2004
Member No: 25,638



how do you put a background only on the sides?
the only example i could think of is hellogoodbye's myspace--how the brown is only on the sides and the center is still white.
 
coldtrance
post May 4 2006, 09:08 PM
Post #2


There Are Strange Things Afoot At The Cirlce K
******

Group: Member
Posts: 1,130
Joined: Oct 2005
Member No: 253,395



body {
background-color: ######
background-image: url("");
background-position: bottom right;
background-repeat: no-repeat;
background-attachment: fixed;

look for that in your css, and change the bolded to one of the following:

position: bottom right, bottom left, top right, top left, center center, center right, center left

attahment: fixed, scroll

ps:
make sure the "background-repeat: no-repeat;" says "no-repeat"
 
StrawberriKiwi7
post May 4 2006, 10:02 PM
Post #3


Senior Member
***

Group: Member
Posts: 55
Joined: Jun 2004
Member No: 25,638



it didn't work? =[
 
coldtrance
post May 5 2006, 12:03 AM
Post #4


There Are Strange Things Afoot At The Cirlce K
******

Group: Member
Posts: 1,130
Joined: Oct 2005
Member No: 253,395



if you pasted it just like i have it, it wont work... you need to put it between style tags:

<style type="text/css">
body {
background-color: ######
background-image: url("");
background-position: bottom right;
background-repeat: no-repeat;
background-attachment: fixed;
</style>

edit:

oh stupid me, i thought you were talking about image placement.. sorry... all you do is put:

<style>
body{background color: 000000}
</style>
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: