NeueZiel
12-31-2002, 12:00 AM
Anyone see what's wrong with this code?
----------------------------
<html>
<head>
<title>Untitled</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<div style="position: absolute; top: 0px; left: 0px; width: 150px;">
<table width="150" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="mnav.png" width="150" height="11">
</td>
</tr>
<tr>
<td><center><span class="text">Main<br>Links<br>Contact</span></center>
</td>
</tr>
</table>
</div>
</body>
</html>
-------------------------------
NOTE: The title I'm going to change, and I know I don't have a doctype specified, but I don't usually insert those until I have a so-called "base" layout down, then I correct stuff.
The problems I'm having are...
1) It's not starting at 0x0, it's all the way to the left, but starts a few px down from the top.
2) It seems like there's a massive cellspacing, because between that image and the TD placed below it, there's a HUGE gap.
Any help would be appreciated.
Thanks!
----------------------------
<html>
<head>
<title>Untitled</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<div style="position: absolute; top: 0px; left: 0px; width: 150px;">
<table width="150" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="mnav.png" width="150" height="11">
</td>
</tr>
<tr>
<td><center><span class="text">Main<br>Links<br>Contact</span></center>
</td>
</tr>
</table>
</div>
</body>
</html>
-------------------------------
NOTE: The title I'm going to change, and I know I don't have a doctype specified, but I don't usually insert those until I have a so-called "base" layout down, then I correct stuff.
The problems I'm having are...
1) It's not starting at 0x0, it's all the way to the left, but starts a few px down from the top.
2) It seems like there's a massive cellspacing, because between that image and the TD placed below it, there's a HUGE gap.
Any help would be appreciated.
Thanks!