As you can see, when you mouse over the rollover button, it flashes on and off. Using firebug I can see that the <a> element is not the same size as the image. I’ve tried to remedy this by setting the font-size for the <a> element to the same height as the image, but this didn’t work.
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
in the name of accessibility and web standards, you ought to use image replacement for your menu links and not inline images. The navbar would be more semantically aware if it was an unordered list, whose <li> elements were floated. With background images placed on you <a> elements in your css and declaring them as block elements you will avoid the flashing problem. Be sure to declare also the width and height of the <a> elements to match that of the background imagery.
If you are unsure, then any tutorial on CSS menus should point you in the right direction.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".