View Full Version : Aligning Text In Tables


Kuishee
03-30-2003, 05:30 AM
[SIZE=1][FONT=arial][COLOR=darkblue]
Hi there!
CAn anybody help me in aligning text in tables? Go here
Here (http://free.hostdepartment.com/t/tiddly/updates.html ) to see my webpage.

The word 'hello' is in the middle of the table. Is there anyway to get it to the top?

-Thanks

Dude128
03-30-2003, 05:35 AM
just add valign="top" to the <td> tag

zangerbanger
03-30-2003, 05:35 AM
To get it to the top of the table, add a div layer inside the table cell:

<div style="position: absolute; top: #; left: #; z-index: #;">
hello
</div>

Make sure you replace the #'s with your own numbers. You'll have to keep guessing the correct numbers until you get it perfect aligned where you want it.

Kuishee
03-30-2003, 05:38 AM
Thanks for you help ^^ It's at the top now! :)

zangerbanger
03-30-2003, 05:50 AM
:) Good Job!