4417Re: Highlighting Menu Buttons
- Mar 11, 2004--- In firstname.lastname@example.org, "Greg Chapman" <greg@e...> wrote:
> Hi Gang!system with
> A while ago a subscriber to this list helped me create a menu
> highlighting buttons using CSS and suitable for XHTML.the
> While the system works fine for horizontal menus, it doesn't give
> desired result with a vertical menu. I'm clearly not thinkinglaterally at
> the moment, because I can't think of the approach required tohighlight the
> entire button and not just the text within the button.Here's one way.
> You'll see what I'm talking about at:
> Any ideas/comments welcome!
In your XHTML code you have the following code:
<P class="buttons"><a href="#" target="main">A BUTTON</a></p>
Alter your opening paragraph tag so it's like this:
<p class="buttons" onmouseover="this.className='onbuttons';"
Then in your CSS, define two more classes such as:
- << Previous post in topic Next post in topic >>