background only on sides? |
![]() ![]() |
background only on sides? |
![]()
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. |
|
|
![]()
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" |
|
|
![]()
Post
#3
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 55 Joined: Jun 2004 Member No: 25,638 ![]() |
it didn't work? =[
|
|
|
![]()
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> |
|
|
![]() ![]() |