> Thanks to your explanation, I found a way to fix it:
>
> i simply added this to my stylesheet:
>
> html.js #stratas ul{
> /* this is necessary, otherwise jquery :visible does not work */
> width:100%;
> }
>
>
> btw, do you know of a good way to make sure that an UL automatically
> adjust its dimensions to its content's dimensions ? (in other words,
> not have its content escape outside?)
This is moving into the realm of CSS but it really depends what the
contents are. If the contents are absolutely positioned, no, the
container won't expand. If the contents are floated you can use
overflow: auto; to expand the container.
--John
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---