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> Quote Link to comment 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. Quote Link to comment 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! Quote Link to comment 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.