Jump to content

Table Layout


Guest Gregory Mifsud

Recommended Posts

Guest Gregory Mifsud

I am building a site using tables and I created a banner with tables and everything is ok. But when i try to make two tables near each other with tables in them the tables stand on top of each other. The code is this:<body lefmargin="0" topmargin="0" marginwidth="0" marginheight="0"><centre><table id="acontainer" border="1" width="900" cellpadding="0" cellspacing="0"> <tr> <td width="900" height="135" colspan="3"> <table id="masthead" border="1" width="900"> <tr> <td width="422" height="119" colspan="2"><img src="#" width="422" height="119" /></td> <td width="289" height="119"><img src="#" width="289" height="119"></td> <td width="189" height="119"><img src="#" width="189" height="119" /></td> </tr> <tr> <td width="900" height="10" colspan="4"></td> </tr> <tr id="navigation"> <td width="225" height="20">Link 1</td> <td width="225" height="20">Link 1</td> <td width="225" height="20">Link 1</td> <td width="225" height="20">Link 1</td> </tr> </table> </td> </tr> <tr> <td id="leftcontainer" width="700" height="522" valign="top"> <table width="700" height="522" border="1"> <tr> <td width="700" height="20" valign="top">hello</td> </tr> <tr> <td width="700" height="20" valign="top">hello</td> <tr> </tr> <td width="700" height="482" valign="top">hello</td> </tr> </table> </td> </tr> <tr> <td id="rightcontainer" width="200" height="522" valign="top"> <table width="200" height="522" border="1"> <tr> <td width="200" height="20" valign="top">Contact Information</td> </tr> <tr> <td width="200" height="502" valign="top">Bernard Mifsud</td> </tr> </table> </td> </tr></table></body></html>I would appreciate any help. Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...