Previous Message
Next Message

RE: [css-d] width for inline elements

Sent by Luke Redpath on 15 April 2003 18:06


>if you want a row instead of a stack, use:
>    li {display:inline-block;   /*This is a CSS2.1 property, and is pretty
>well supported*/
>       width:150px;

I never knew about this property, and it could very useful (saves using
unnessecary floats) but I was disappointed to see that it didn't work in
IE6, NS7 or Mozilla. Doesn't appear to be well supported at all
unfortunately...I only got it working on Opera 7.

Cheers,

Luke Redpath
--
www.sonicdeath.co.uk/weblog
"Celebrity Squares" - giving the web a CSS makeover - coming soon!



______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: