Forum Moderators: not2easy
I am building a site and wish to put in a simple band of colour from one end of my site to the next.
The site is 800px wide and I want a band about 2px high.
However when I view the band in IE it just defaults to a set size?
Yet when I view the site in mozilla the band is 2px?
My css is:
.banding {
width: 800px;
height: 2px;
background-color: #5574b9;
}
Hope someone can help?
Thanks
Spence
Chances are that your whole layout is already sitting in some 800px wide element and that adding...
border-top:2px solid #5574b9
...to the css declarations for that element would work as well or better than the extra div.
-b