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
https://forums.phpfreaks.com/topic/150123-padding-issue-on-css-dropdown-menu/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.