Thanks for the additional information. I'm not sure that I understand the "fine point", though. Does this suggest that inline elements cannot have a width property at all? I read this to say "If you don't specify left, right, margin-left, or margin-right, the default value is 0."
(Incidentally, I've adopted the habit of setting margin and padding to 0 rather than trusting the browser defaults.) Can you clarify what the spec means by 'replaced'? Thanks... slowly getting my head around this. s:r -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Patrick Lauke Sent: Tuesday, July 13, 2004 9:30 AM To: [EMAIL PROTECTED] Subject: RE: [WSG] setting width for <li>s when inline > From: Scott Reston [...] > Is it possible to set width on an inline element? even though you now have a solution, I'd just like to answer this part of your question. As per http://www.w3.org/TR/REC-CSS2/visudet.html#q4 "10.3.1 Inline, non-replaced elements The 'width' property does not apply. A specified value of 'auto' for 'left', 'right', 'margin-left' or 'margin-right' becomes a computed value of '0'." Patrick ________________________________ Patrick H. Lauke Webmaster / University of Salford http://www.salford.ac.uk ***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ***************************************************** ***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *****************************************************
