CSS Individual Parent Menu Width

Quick question, hopefully an easy one. I created a CSS Menu (horizontal) and the width is set to 8 em. I like how it looks, but it would be better if I could adjust the width individually and this would get the “containers” to tighten up based off the length of the list word. So for instance the container would be smaller for words like “Home” and stretched out for longer word(s) like “Past Publications.”

The effect I’m going for would be a lot better if this was possible instead of all of them being the same width.

How would this be done?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

At the moment the only way to do this is by not using the CSS Menu action and setting up CSS styles for the active/hover/link states and li attributes that allow you to set specific widths with padding. Joe might have a suggestion for getting around this, but i’m not aware of a way. It might be possible to target the width with a specific style but that won’t remove the automatic em setting.

On 6 May. 2008, 2:29 am, Mitchell wrote:

Quick question, hopefully an easy one. I created a CSS Menu (horizontal) and the width is set to 8 em. I like how it looks, but it would be better if I could adjust the width individually and this would get the “containers” to tighten up based off the length of the list word. So for instance the container would be smaller for words like “Home” and stretched out for longer word(s) like “Past Publications.”

The effect I’m going for would be a lot better if this was possible instead of all of them being the same width.

How would this be done?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options