I have a question with html tables. I included a picture so its easier for me to explain it. Using the basic <td> coding, what can I add to it so the "I want this text to be at the top" actually be at the top (where the arrows are pointing). Thanks for the help.
I dont know exactly what you are looking for but I hope this helps. John <table width="200" border="1" cellpadding="0" cellspacing="0"> <tr> <td width="183"><p>I want this text to be at the top</p> <p>Test</p> <p>Test</p> <p>Test</p> <p>Test</p> <p>Test</p> <p>Test</p> </td> </tr> </table>
No. I want "I want this text to be at the top" to be at the top right next to the "text". i was thinking along the lines of <td align="top"> but that doesnt work.
<table> <tr> <td>Test</td> <td>I want this at the top</td> </tr> <tr> <td>Test</td> </tr> <tr> <td>Test</td> </tr> <tr> <td>Test</td> </tr> <tr> <td>Test</td> </tr> <tr> <td>Test</td> </tr> </table> I think might work.
BuLLeTz, In your original code, you did not specify rows. I believe that Aaron700 gave you the correct solution. "I want this text to be at the top" is in the 2nd column of the first row.
Just wanted to day that's ineficient when a simple valign or css class with vertical align will do.. plus what happens if u add a second line to test.