Orionsbelter Posted November 9, 2009 Share Posted November 9, 2009 <table width="80%" border="0" align="center" cellpadding="0" cellspacing="10"> <tr> <td width="50%"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="outborders"> <tr> <td bgcolor="#664609"> Existing Customers </td> </tr> <tr> <td> </td> </tr> <tr> <td bgcolor="#664609">Forgotten Password</td> </tr> <tr> <td height="26"> </td> </tr> </table></td> <td width="50%"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="outborders"> <tr> <td bgcolor="#664609">New Customers</td> </tr> <tr> <td> </td> </tr> </table> <br /></td> </tr> </table> here there is two table in a table, the one on the right i want to stay at the top of the column but its not its fixed at the middle i need it to stay bang at the top of the right column please help. Link to comment https://forums.phpfreaks.com/topic/180853-help-please/ Share on other sites More sharing options...
Bricktop Posted November 9, 2009 Share Posted November 9, 2009 Hi blmg911, You need to use the valign="top" attribute (even better would be to use a CSS equivalent) Amanded code below: <table width="80%" border="0" align="center" cellpadding="0" cellspacing="10"> <tr> <td width="50%"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="outborders"> <tr> <td bgcolor="#664609"> Existing Customers </td> </tr> <tr> <td> </td> </tr> <tr> <td bgcolor="#664609">Forgotten Password</td> </tr> <tr> <td height="26"> </td> </tr> </table></td> <td width="50%" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="outborders"> <tr> <td bgcolor="#664609">New Customers</td> </tr> <tr> <td> </td> </tr> </table> <br /></td> </tr> </table> For future reference there is a specific HTML help forum which is better suited for this type of question. Link to comment https://forums.phpfreaks.com/topic/180853-help-please/#findComment-954101 Share on other sites More sharing options...
Orionsbelter Posted November 9, 2009 Author Share Posted November 9, 2009 Thank you very much! Link to comment https://forums.phpfreaks.com/topic/180853-help-please/#findComment-954112 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.