View Full Version : table as a border, but i cant get text at the top

09-28-2006, 12:23 PM
hi guys.

im creating a table on my page using dreamweaver to act as a nice border for my page.

problem is, when i insert text inside the border, the text keeps going to the middle of the border, i want the text to move to the top, but i cant seem to move the text up, only down :?

09-28-2006, 12:57 PM
For a box just use any block container:
<div id="box">Text here</div> and then use CSS to style. Using tables will create headaches for you, like the one you mentioned.

To vertically align content in a table cell to the top, use this CSS rule:
td {vertical-align: top;}

09-29-2006, 01:15 AM
Thanks, I'll try that.