HTML table problem!! Please Help me?
I am having a serious problem in my HTML pages while making tables. If there is a two columned layout and when i write some text in the left column the text in the right column goes down.the more the text written in the left side, the more the text goes down in the right side.
Here is a image link of what the problem is all about
http://img225.imageshack.us/img225/9409/untitled1xg5.jpg
I am using Dreamweaver mx 2004
Public Comments
- Hi, You do create another table but be specific when you create coloumns and rows. Coz you need to take care of colspan and rowspan. Now you can align all the text to top. Try and let me know buddy...
- this could help...... http://www.w3schools.com/
- I think you should set the valign property. You can set the right cell's style like <td id=cell2 valign="top">Content2</td>
- Set the "valign" property for the <td> tags. Like this: <td valign="top">
- To get rid of this problem for all table, simply add this code to your document or CSS stylesheet: <style type="text/css"> td { vertical-align: top; } </style> Hope this helps, Alex
- You may want to consider putting a table inside your table that you already have. EXAMPLE: <html><head><title></title></head><body> <table> <tr> <td> <table> </table> </td> </tr> </table> </body> </html>
Powered by Yahoo! Answers