I am creating a fluid layout and i m having trouble with back-ground positioning.
The site needs to look liek three columns- center is white sides are this (hideous) red effort.
here is what i have at the moment but the background position is not working with % - only px
background: #ea0437 url(../images/bgwhite.jpg) repeat-y 30% 0;
background: transparent url(../images/bgred.gif) repeat-y 70% 0;
font-family: Lucida Sans, Verdana, Geneva, Arial, Helvetica, sans-serif;
Any help will be very much appreciated...
background: #ea0437 url(../images/bgwhite.jpg) repeat-y 30% 0
-I thought that the default values for postion were:
top, center, bottom for x and left, center, and right for y, -but it seems as if I have also seen percentages used. So, is their need for including the "attachement" value to get percentage to work, e.g.,:
background: #ea0437 url(../images/bgwhite.jpg) repeat-y fixed 30% 0
(whereby the attachment value could be fixed, scroll or inherit)
Last edited by WebJoel; 02-08-2007 at 08:59 AM.
Do you have a working/live sample page w/ the codes you specified?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)