Jump to content

HELP PLEASE!


Orionsbelter

Recommended Posts

<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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.