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

12-15-2005, 10: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:

<link rel="stylesheet" type="text/css" href="right.css">
<table height="100%" width="100%" cellpadding="0" cellspacing="0" margin="0" border="0">
<td width="100%">
<div class="title">
<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 href="#" target="content">
<span class="first"><span class="pink">o.</span> Newsletter</span>
<span class="second">o. <span class="pink">Newsletter</span></span>
<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>
<td height="1" bgcolor="fd5be4">

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

Thanks - Dan

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

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