CSSMenu - Vertical PADDING PROBLEM IN IE [temporary solved]
Posted: Sat Feb 24, 2007 10:05 am
hi,
i've got a problem on the vertical menu css on www.stevendalving.be : in Firefox and safari its ok. but in IE it gives less height on the hit-area... to make it clear i gave the hit areas a 1px border... could anyone help me to get the hit areas similar to the images in the back, aswell for Firefox as IE...
css code:
/* Styling the basic apperance of the menu elements */
#primary-nav a {
border: 1px solid #006699;
display: block;
margin: 0px;
padding: 27px 25px;
text-decoration: none;
background: transparent;
min-height:1em; /* Fixes IE7 whitespace bug*/
}
#primary-nav li, #primary-nav li.menuparent {
background-color: transparent;
min-height:2em; /* Fixes IE7 bug*/
}
/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */
#primary-nav li.menuactive {
background-color: transparent;
}
/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav li.menuparent,
#primary-nav li.menuparent:hover,
#primary-nav li.menuparenth {
background-position: center right;
background-repeat: no-repeat;
}
/* Styling the apperance of menu items on hover */
#primary-nav li:hover,
#primary-nav li.menuh,
#primary-nav li.menuparenth,
#primary-nav li.menuactiveh {
background-color: transparent;
}
thanks in advance!
David - www.kovver.com
i've got a problem on the vertical menu css on www.stevendalving.be : in Firefox and safari its ok. but in IE it gives less height on the hit-area... to make it clear i gave the hit areas a 1px border... could anyone help me to get the hit areas similar to the images in the back, aswell for Firefox as IE...
css code:
/* Styling the basic apperance of the menu elements */
#primary-nav a {
border: 1px solid #006699;
display: block;
margin: 0px;
padding: 27px 25px;
text-decoration: none;
background: transparent;
min-height:1em; /* Fixes IE7 whitespace bug*/
}
#primary-nav li, #primary-nav li.menuparent {
background-color: transparent;
min-height:2em; /* Fixes IE7 bug*/
}
/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */
#primary-nav li.menuactive {
background-color: transparent;
}
/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav li.menuparent,
#primary-nav li.menuparent:hover,
#primary-nav li.menuparenth {
background-position: center right;
background-repeat: no-repeat;
}
/* Styling the apperance of menu items on hover */
#primary-nav li:hover,
#primary-nav li.menuh,
#primary-nav li.menuparenth,
#primary-nav li.menuactiveh {
background-color: transparent;
}
thanks in advance!
David - www.kovver.com