sumeet555
asked on
Cascading style sheet for page background
Is it possible to set the background color of the page such that 50% of the page has one color and the other 50% has another color, the page color is partitioned vertically.
Please suggest ASAP
Sumeet
Please suggest ASAP
Sumeet
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Or you could use a 2000 pixel wide background again but in the style sheet set background-position: center. Have to watch out for Netscape though.
how about making a layer....
use a bit of javascript that finds the height and width of the page and sets it's width accordingly, than in that layer make a table with width=100%
make two table cells and give 1 the first color and the other the other color.
Also make the height of the table 100% and that should do it.. i think it's a much prettier solution for Your problem...
use a bit of javascript that finds the height and width of the page and sets it's width accordingly, than in that layer make a table with width=100%
make two table cells and give 1 the first color and the other the other color.
Also make the height of the table 100% and that should do it.. i think it's a much prettier solution for Your problem...