[thelist] CSS & DIV rendering trouble
burgan at iprimus.com.au
burgan at iprimus.com.au
Mon Mar 3 17:26:01 CST 2003
Hello,
I have a 'div' tag that I want to have a height of 1 pixel - in order to
create a line across my page.
The css class for the div has a background color of black, but I've set my
line to by FF9933.
You can see what happens - visit http://www.greaterthani.com/cssproblem.htm
to view this page.
The div tag appears to have a height of around 20 pixels or so .. how do I
get it just to 1px like I want it.
The code is below - but visit to url above to see it in a browser.
Thanks in advance
Tim Burgan
<html>
<head>
<style type="text/css">
<!--
div.menubar_line {
position: absolute;
top: 57px;
left: 0px;
height: 1px;
width: 700px;
z-index: 1;
background-color: #000000;
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<div class="menubar_line">
<table width="700" height="1" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="pics/FF9933.gif" height="1" width="700" alt="">
</td>
</tr>
</table>
</div>
</body>
</html>
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
More information about the thelist
mailing list