[thelist] CSS & DIV rendering trouble
Hassan Schroeder
hassan at webtuitive.com
Mon Mar 3 18:01:01 CST 2003
burgan at iprimus.com.au wrote:
> I'm very new at CSS - any suggestions about how to clean-up my code would
> also be greatly appreciated.
A tiny change to your original CSS and you're there ...
<style type="text/css">
hr.menubar_line {
position: absolute;
top: 57px;
left: 0px;
height: 1px;
width: 700px;
z-index: 1;
background-color: #ff9933;
color: #ff9933;
/* you need to set both fg and bg color, due to a
* discrepancy between (surprise) IE and Moz...
*/
</style>
<hr class="menubar_line" />
Voila, no extraneous divs, tables, images, etc., etc. :-)
HTH!
--
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
More information about the thelist
mailing list