On 18 Jun 2005, at 10:53 pm, Andrew Clover wrote:

If you want to get shrink-to-fit elements on browsers that don't support CSS 2.1/auto-width-float, the only other documented way is a table (with table-layout: auto, the default). Which probably wouldn't be much use with positioned menus.

The often used technique to accomplish this is the float in float technique - at least for this type of navigation lists. Float both the <li> and <a> creates an 'auto-width' block in almost all modern browser.

See D.Bowman article on the sliding doors technique on A list Apart.

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com/>

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

Reply via email to