On 22/06/2007, at 12:45 AM, Olivier Percebois-Garve wrote:
I mean getting the width of each li's content and then to give that
width to the li
On 6/21/07, Olivier Percebois-Garve < [EMAIL PROTECTED]>
wrote:could such behavior be scripited ?
I'm sure it could be scripted. Depending on the CSS that is in effect
before your script runs, you might wrap the contents of each li in a
div element, get the width of the div, then apply that width to the
parent li. You would still need to ensure that the menu still
degrades gracefully without the script though.
Joel.