Previous Message
Next Message

Re: [css-d] vertical align and doctype

Sent by todd fahrner on 29 January 2002 20:08


Andrew advised:

> michael robertson [EMAIL-REMOVED]> wrote:
>
>> [vertical-align on <tr>]
>
>> Works fine until I add the doctype for transitional 4.01. What wrong?
>
> ISTR you can't vertical-align rows in CSS - you have to do it on the
> cells instead. Try <td class="mid">, that should do the trick.

or better, keep the class on the tr, and use:

.mid td { vertical-align: middle }
Previous Message
Next Message

Possibly related: