How to make entire navigation menu item selectable

H

Homer

Hi,

I used a template for my first Web application. I made a few changes
to the layer thru its css file. The problem that has been vexing me
is the vertical spacing for each navigation menu item. If I do not
set the verticalpadding property, the items are rendered too close to
one another. However, when I set the verticalpadding property, I get
the spacing that I want but the selectable area within each item is
the exact height of the text size. The padding space above and below
each item are not selectable. I want to make it so when the user
hover the mouse pointer over each menu item, the entire item becomes
selectable. Right now, only the text area is selectable and not the
padding above and below it. Can someone please help me?

Thank you all,
Jon
 
B

bruce barker

the easiest is to use an background image (hint: should only be 1px wide).

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top