Christopher Jordan schrieb:
> Thanks for the response, Klaus. :o)
> 
> Klaus Hartl wrote:
>> Hi Chris,
>>
>> that's right. But: the only reason I can think of to use tables, is, 
>> that you can easily have content vertically aligned in the middle. That 
>> is what CSS honestly lacks.
>>
>> This can also be achievend with a little dynamic property for IE, so 
>> that's one line for a hack versus improved accessibility plus increased 
>> flexibility/maintainability plus 50% less markup. That sounds like a 
>> good trade-off, doesn't it?
>>
>>   
> so what's the hack? don't leave me hangin', brotha! :o)


Hi Christopher, wasn't sure if you are interested... here's a demo:
http://stilbuero.de/demo/vertical_centering/

One more thing to know: With JavaScript disabled in IE it will not be 
centered. I think that's acceptable, because it degrades well.


-- Klaus

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to