Jump to content

Padding issue on CSS dropdown menu


biggieuk

Recommended Posts

Hi all,

 

I have created a CSS dropdown menu for my website. To space out the individual menu items i have used a top padding of 5px, however this causes the dropdown to close as the cursor hits the padding space in IE only.

 

Is there a workaround for this?

 

The code for the text item is:

 

#menuh a
	{
	text-align: center;
	display:block;
	white-space:nowrap;
	margin:0;
	padding: 0px 0px 5px 0px; /* height of menu */
	}

 

thanks for hel with this.

 

Dan

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.