Jump to content

List Height Issue


glenelkins

Recommended Posts

Hi

 

consider this code:

 

.nav_items {

margin: 0px;
padding: 0px;

list-style:none;

}

.nav_items li { margin: 0px; padding: 0px;display:inline; }
.nav_items li a:link { margin: 0px; padding: 0px;height:22px;background:url('../images/nav_hover.gif');}
.nav_items li a:visited { margin: 0px; padding: 0px;height:22px;background:url('../images/nav_hover.gif');}
.nav_items li a:hover { margin: 0px; padding: 0px;height:22px;background:url('../images/nav_hover.gif');}

 

This works fine in IE the list items appear at 22px in height. But in FF they only appear the height of the font size.

 

Any ideas how to get the height ofthe list items to work in FF?

Link to comment
https://forums.phpfreaks.com/topic/109850-list-height-issue/
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.