Help align table to top of page! (HTML)

Soldato
Joined
5 Dec 2006
Posts
15,370
Hi there

I have the following table

Code:
<table id="Table_01" border="0" cellpadding="0" cellspacing="0" style="width: 765px; height: 480px">
<tr>
 <td style="height: 60px">
 <img src="images/home.png" width="105" height="36" id="img1" onmouseout="FP_swapImgRestore()" onmouseover="FP_swapImg(1,1,/*id*/'img1',/*url*/'images/home_over.png')" /><img src="images/spacer.png" width="3" height="36" /><img src="images/public_gallery.png" width="110" height="36" id="img2" onmouseout="FP_swapImgRestore()" onmouseover="FP_swapImg(1,1,/*id*/'img2',/*url*/'images/public_gallery_over.png')" /><img src="images/spacer.png" width="3" height="36" /><img src="images/photos.png" width="65" height="36" id="img3" onmouseout="FP_swapImgRestore()" onmouseover="FP_swapImg(1,1,/*id*/'img3',/*url*/'images/photos_over.png')" /><img src="images/spacer.png" width="3" height="36" /><img src="images/games.png" width="67" height="36" id="img4" onmouseout="FP_swapImgRestore()" onmouseover="FP_swapImg(1,1,/*id*/'img4',/*url*/'images/games_over.png')" /><img src="images/spacer.png" width="3" height="36" /><img src="images/links.png" width="52" height="36" id="img5" onmouseout="FP_swapImgRestore()" onmouseover="FP_swapImg(1,1,/*id*/'img5',/*url*/'images/links_over.png')" /><img src="images/spacer.png" width="3" height="36" /><img src="images/guestbook.png" width="90" height="36" id="img6" onmouseout="FP_swapImgRestore()" onmouseover="FP_swapImg(1,1,/*id*/'img6',/*url*/'images/guestbook_over.png')" /><img src="images/spacer.png" width="3" height="36" /><img src="images/contact.png" width="74" height="36" id="img7" onmouseout="FP_swapImgRestore()" onmouseover="FP_swapImg(1,1,/*id*/'img7',/*url*/'images/contact_over.png')" /><img src="images/endbar.png" width="159" height="36" /></td>
</tr>
<tr>
 <td class="style1">Welcome to a-s-i-m.co.uk</td>
</tr>
</table>

I want it so that it is aligned to the TOP of the page.

I have tried using the align="top" attribute to both the body tag and table tag, but it dosent work. I have also tried wrapping the whole table in <div align="top" .... </div>.

In Safari it shows it aligned to the top by default, but in IE6 it shows up floating right in the middle of the page.

Any help is greatly appreciated

Thank You.
 
Back
Top Bottom