I know that you can set the background color for your site using css, but is it possible to set the top 200 pixels a certain color and the rest of the site a different color using css. If not, what would be the best way to approach this.
Thanks
[This message has been edited by ddeile (edited August 22, 2000).]
You could probably set the page bgcolor to whatever you want below the top 200 pixels and position a DIV at the top of the page with a different background color.
I'd attempt to explain how, but I'm just getting into CSS-P and wouldn't want to lead you astray. One of the experts can do that.
*****edited to add-
Okay, since nobody else jumped in here I played around a bit with this today and here's what I came up with:
#top { position : absolute;
top : -10px; left : -10px;
width : 100%; height : 200px;
background-color : #cc0000;
border : none;}
In the body style I set the page background color to yellow (in an external style sheet). Then I placed this DIV as the first thing after the BODY tag in the html doc. It seems to work fine in IE 5.0, it leaves a small gap on the right side in NS 4.7.
Bookmarks