Re: [css-d] horizontal list elements evenly spaced ala

Fri, 08 Dec 2006 09:12:04 -0800

Toby Sutton wrote:
> anybody know how to evenly spaced a horizontal list with an arbitrary 
> number of elements in the same manner that using a table will result in?
>   

Toby,

Sure: if you want each element to act like a table cell, give it a 
display value of table-cell. But of course, IE doesn't support this bit 
of CSS 2, so it needs JavaScript:
http://mrclay.org/web_design/tabs/

This can be a somewhat useful effect, but most of the time, I'd just get 
out of the table mindset and try to use CSS to do all the things its 
great at, instead of trying to stuff it into the old, rigid table model. 
CSS opens up so many new layout possibilities for us -- let's take 
advantage of them, instead of trying to do the same old thing with a new 
tool. My opinion, of course. :-)

Best,
Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to