I am working with the CSS on a wordpress template, and I almost have it looking the way I want - there are dropdown menus, and I can get the menu items to highlight on rollover, but not the entire box (the padding) - is there a way to do this ?
Colin
You need to make the anchor a block. Check http://rbenson.info/examples/menu.php for an example. I haven’t fixed my template for that page so ignore the php errors.
I cant see your css.
but I am guessing this is what’s missing…
your anchor tag has padding left/right, but not top bottom padding. the space that you see above and below is probably caused by either:
padding on the LI
margin-top/bottom on the anchor tag
find which one of the the two style rules it is, get rid of that declaration ( not the rule… just the declaration for margin or padding) and add the same value as padding-top/bottom and you should be set