By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,583 Members | 1,126 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,583 IT Pros & Developers. It's quick & easy.

How to make entire navigation menu item selectable

P: n/a
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

Jul 27 '07 #1
Share this Question
Share on Google+
1 Reply


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

-- bruce (sqlwork.com)

Homer wrote:
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
Jul 27 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.