Dysan Posted March 4, 2008 Share Posted March 4, 2008 The following code displays a bulleted list in FireFox, but IE doesn't. Is possible to get IE to display bullets also? <style type="text/css"> <!-- ol { margin: 17px; padding: 7px; } body { font-family: Arial, Helvetica, sans-serif; font-size: 14px; } #nav { width: 310px; } #nav li { /* list-style: disc;*/ /* float: left;*/ } #nav a { /* float: left;*/ width: 102px; height: 47px; line-height: 47px; background-color: #333333; color: #DDDDDD; text-transform: uppercase; text-decoration: none; font-size: 90%; font-weight: bold; text-align: center; } --> </style> </head> <body> <ul id="nav"> <li>Item One</li> <li>Item Two</li> <li>Item Three</li> <li>Item Four</li> <li>Item Five</li> </ul> </body> </html> Link to comment https://forums.phpfreaks.com/topic/94250-display-bullets-in-ie/ Share on other sites More sharing options...
haku Posted March 4, 2008 Share Posted March 4, 2008 add some left margin onto #nav li. The bullets could just be hidden. Link to comment https://forums.phpfreaks.com/topic/94250-display-bullets-in-ie/#findComment-482754 Share on other sites More sharing options...
Dysan Posted March 4, 2008 Author Share Posted March 4, 2008 Brilliant! Cheers. I wished I had your level of experience! Link to comment https://forums.phpfreaks.com/topic/94250-display-bullets-in-ie/#findComment-482766 Share on other sites More sharing options...
haku Posted March 4, 2008 Share Posted March 4, 2008 Heh, I'm not that experienced. I just happened to know the answer to that one! Link to comment https://forums.phpfreaks.com/topic/94250-display-bullets-in-ie/#findComment-482775 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.