You can if you set it to display:block. Then, of course, it is no longer an inline element
OT really but this looks like a definition list to me, why not use that markup? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jim Sent: 10 September 2008 06:19 To: css-d@lists.css-discuss.org Subject: Re: [css-d] List items in columns I was under the impression that you couldn't set a width on an inline element. ----- Original Message ----- From: "Damien" <[EMAIL PROTECTED]> To: "Jim" <[EMAIL PROTECTED]> Sent: Tuesday, September 09, 2008 9:23 PM Subject: Re: [css-d] List items in columns > You could put a <span> or something in the <li> around CPU > Then set a width on it > Even better if you are already using a <b> or <i> for the CPU part. Then > just use that tag! > > Cheers, > Damien > > Ph: (07) 838 3775 > Fax: (07) 838 3775 > Email: [EMAIL PROTECTED] > > > > Jim wrote: > Is there any way to lay out list items as follows, without using tables > (won't look right unless you view email as plain text): > > > * CPU: 2 x Xeon 5130 > * RAM: 8 GB > * STORAGE: 330 GB > > The thing that drives me nuts with using tables in this example is that > it > requires such a lot of markup for very little effect. Each line above > would need to be an individual table. Not so bad with three lines, but > for hundreds, it's tedious. ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/