...

View Full Version : Table not appearing at top of page.



thedanster
12-15-2005, 09:55 AM
I am working on a website at www.danbeckett.co.uk/odg2 , which involves iframes, but my table on the right of the page isn't appearing at the top of the frame, it looks as if there is a <br > above the table.

When I did this site originally (went ahead and deleted the wrong folder, now I have to do it all again :/) I didnt have a problem, but I didn't use much CSS, could this be why?

Here is my code:




<html>
<head>
<link rel="stylesheet" type="text/css" href="right.css">
</head>
<body>
<table height="100%" width="100%" cellpadding="0" cellspacing="0" margin="0" border="0">
<tr>
<td width="100%">
<div class="title">
{OnlyDancingGirls}
</div>
</td>
</tr>
<tr>
<td height="*" valign="center">
<div class="maintext">
<a href="news.php" target="content">
<span class="first"><span class="pink">x.</span> News</span>
<span class="second">x. <span class="pink">News</span></span>
</a><br>
<a href="#" target="content">
<span class="first"><span class="pink">o.</span> Newsletter</span>
<span class="second">o. <span class="pink">Newsletter</span></span>
</a><br>
<a href="live.php" target="content">
<span class="first"><span class="pink">x.</span> Upcoming Gigs</span>
<span class="second">x. <span class="pink">Upcoming Gigs</span></span>
</a>
</div>
</td>
</tr>
<tr>
<td height="1" bgcolor="fd5be4">
</td>
</tr>
</table>
</body>
</html>



If anyone could help me sort this out I would be most grateful

Thanks - Dan

ronaldb66
12-15-2005, 12:00 PM
Add this rule to your style sheet:

body {
margin: 0;
padding: 0;
} That should sort it.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum