Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

CSS equivalet to HTML <td> valign attribute?



3:15 pm on Jan 27, 2003 (gmt 0)

Inactive Member
Account Expired


Hi, I need to recreate

<td valign="middle">Foo</td>

But using CSS, I've searched but not found exactly what I need... surely this is a very basic thing?

I put:

text-align: middle;

But alas that doesn't seem right... I've never used CSS much before, so I need help :)


6:23 pm on Jan 29, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member suzyuk is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Oct 1, 2002
votes: 0

Have a look at this link [wpdfd.com] (underneath the advert) which has a good explanation of vertical centering using CSS and a workaround for Opera too...

I missed this thread earlier too sorry...


This 31 message thread spans 2 pages: 31