Tables Alignment

I am using php to access a mysql database and create a table. This may be more of an html related question but:
I have 2 main columns, the sidebar, and the data table. They are both in the same HTML table. I want to have the sidebar and the data table always stuck up at the top of the columns as opposed to floating in the center. Heres the link http://www.team-sacs.com/test/new/index2.php.

Search for “T” to get some of the users in the database.

Howdy,
All you need to do is add a valign=“top” to the TD that contains the DB Quick Search:

Awsome, thanks
Edit: Didn’t Work

<table width="99%" height="109" border="0" align="left" valign="top" cellpadding="0" cellspacing="0"> <tr> <td width="8" height="8"><img src="images/tl.gif" width="8" height="8" alt="sad" /></td> <td width="261" height="8" style="background:url('images/tm.gif');"></td> <td width="10" height="8"><img src="images/tr.gif" width="8" height="8" alt="asdasd" /></td> </tr> <tr> <td width="8" height="90" style="background:url('images/ml.gif');"></td> <td><table width="100%" height="90" align="left" cellspacing="0" class="tablebg"> <tr> <th height="21" style="background:url('images/cellpic1.gif');"><span class="style1">DB Quick Search</span> </th> </tr> <tr> <th width="150%" height="67" style="background:url('images/');"><form method="post" action="greg.php"> <input type="blah" name="se" size=25 maxlength=25 /> <input type="Submit" name="Submit" value="Submit" /> </form></th> </tr> </table></td> <td width="10" style="background:url('images/mr.gif');"></td> </tr> <tr> <td width="8" height="11" align="right"><img src="images/bl.gif" width="8" height="8" alt="asd" /></td> <td height="11" style="background:url('images/bm.gif');"></td> <td width="10" height="11"><img src="images/br.gif" width="8" height="8" alt="asd" /></td> </tr> </table>

You added it to the wrong tag :)

etc etc

…wow, thanks :oops:

Sponsor our Newsletter | Privacy Policy | Terms of Service