|
Posted by Ben C on 10/05/05 12:01
On 2008-01-26, Andy Dingley <dingbat@codesmiths.com> wrote:
> On 26 Jan, 11:58, Knut Krueger <knut.krue...@usa.com> wrote:
>
>> div.tr { display:table-row; }
>
> The table-styled behaviours in CSS were intended for two things, and
> only two things: HTML's table elements, and styling XML. They were
> not intended for, and are very sparsely supported for, a general means
> of attaching table-like behaviours to generalised HTML elements.
It's only IE that doesn't support them. They are a useful way to achieve
certain layout effects that aren't really possible any other way.
Centered shrink-to-fit block, vertical centering of block with
auto-height, and equal-height columns spring to mind.
Navigation:
[Reply to this message]
|