Hello all,

I am new here. I expected to find an answer to my question on the wiki
but I didn't, so here it is.

What is the recommended method to choose the width of a navigation
sidebar with dynamic contents?

Ideally, I'd like the sidebar width to adjust automatically to its
contents, as in table-based design (oops... sorry for using a rude
word :) but I don't think it's possible in CSS2 -- or is it?

Short of this, I can use a server-side script (PHP) to define the
width, but what's the best algorithm? Using as many em's (or ex's) as
there are characters in the longest menu item makes it too wide, as
many characters are less than an em or ex wide.

How do you experts handle this?

Nicolas
______________________________________________________________________
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