Just Another Blog

Are you thinking what I'm thinking?

Thursday, July 14, 2005

Space equally using CSS

Thanks to Lachy's discovery, I can now space table columns equally with CSS. Simply apply table-layout: fixed to the table element (or element with display: table or display: inline-table). Columns with no width specified will be spaced equally, no matter how long or short their contents are. And surprisingly, this works in Internet Explorer as well.

0 Comments:

Note that troll and spam comments will be deleted without any notification.

Post a Comment

<< Home