glenelkins Posted February 25, 2008 Share Posted February 25, 2008 Hi In IE on an unordered list there appears to be a few pixel gap between each <LI> item. I have looked all over for a solution and all of them ( apparently tried and tested ) don't work! They all say it happens when using display: block or display: inline-block ... but im not using either and its still happening. Here is the css: #navigation_left ul { margin: 0px; padding: 0px; margin-left: 10px; margin-top: 15px; list-style: none; } #navigation_left li { margin: 0px; padding: 0px; font-size: 8pt; font-weight: bold; color: #FFFFFF; } #navigation_left li a:link { font-weight: bold; font-size: 8pt; color: #FFFFFF; text-decoration: none; } #navigation_left li a:visited { font-weight: bold; font-size: 8pt; color: #FFFFFF; text-decoration: none; } #navigation_left li a:hover { font-weight: bold; font-size: 8pt; color: #FFFFFF; text-decoration: underline; } Link to comment https://forums.phpfreaks.com/topic/92910-has-strange-gaps-in-ie/ Share on other sites More sharing options...
jumpenjuhosaphat Posted February 26, 2008 Share Posted February 26, 2008 Have you tried using line-height:0; in you li properties? Link to comment https://forums.phpfreaks.com/topic/92910-has-strange-gaps-in-ie/#findComment-477340 Share on other sites More sharing options...
bronzemonkey Posted February 26, 2008 Share Posted February 26, 2008 This is probably a "hasLayout" issue since your list items have no properties that trigger IE's bizarre "hasLayout" property. Try using {height:1px;} in an IE-only stylesheet. Link to comment https://forums.phpfreaks.com/topic/92910-has-strange-gaps-in-ie/#findComment-477527 Share on other sites More sharing options...
haku Posted February 26, 2008 Share Posted February 26, 2008 A link almost always helps in these situations. Do you have one? Link to comment https://forums.phpfreaks.com/topic/92910-has-strange-gaps-in-ie/#findComment-477531 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.