[Pro] Changing CSS Menu Underlines

Hi people,

Is there a way to alter the line weight and colour of the CSS Menu underlines without affecting the menu text?

For instance… if I change the colour of the hover state and click on underline, the colour of the text in the menu changes also.

Any thoughts as to how I can achieve a CSS menu whereby the underline thickness is say 3 point and a different colour to the text in the menu.

Hope that makes sense. Thanks for your help

Jon


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

Any ideas anyone??


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

Nope, the weight and size of the underlines is based on the size of
the text, so you would need to change both, not one or t’other.

Joe

On 9 Jul 2009, at 10.53, wingnut wrote:

Hi people,

Is there a way to alter the line weight and colour of the CSS Menu
underlines without affecting the menu text?

For instance… if I change the colour of the hover state and click
on underline, the colour of the text in the menu changes also.

Any thoughts as to how I can achieve a CSS menu whereby the
underline thickness is say 3 point and a different colour to the
text in the menu.

Hope that makes sense. Thanks for your help

Jon

Any ideas anyone??


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


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

Ahh I see… I kind of thought that may be the case.

Would there be a way to create it using styles on a list element. I can do it with a vertical list, but is it possible to create a horizontal list this way?

Cheers

Jon


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

You could do this by turning off the native underlining (uncheck the underline links box in the Action) then add the underline back as a CSS border on the bottom of the link. Use padding to generate space away from the text, negative margin in the same amount to bring the text back down to the baseline, and you would have full control over the color and width (and style) of the underline.

The down-side to this is that you would have to figure out the precise CSS selector to use to target those links. If you look in the head of your page, you’ll see a lot of styles that have umpty-zillion asterisks in them. Those are the styles generated by the CSS Menus action. They’re not much fun to read.

Walter


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

Yikes… I see what you mean.

Hmm… perhaps its the easier workaround would be to turn off the underline in the CSS palette and then create a graphic space with a gif underline and add it as a background. I guess its cheating but I guess it could work.

Cheers again

Jon


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