css bullet lists

  • philtrated
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Aug 23, 2005
  • Posts: 62
  • Status: Offline

Post January 29th, 2006, 10:37 pm

I am trying to achieve a bulleted list using css instead of tables. But have noticed that the bullets don't show up in Internet Explorer, ony Mozilla. Below is the code I used. I'm clueless as to why Ie doesn't load the bullets :P

thank you :)

Code: [ Download ] [ Select ]
<ul>
    <li>Example 1</li>
    <li>Example 2</li>
    <li>Example 3</li>
    <li>Example 4</li>

</ul>
  1. <ul>
  2.     <li>Example 1</li>
  3.     <li>Example 2</li>
  4.     <li>Example 3</li>
  5.     <li>Example 4</li>
  6. </ul>


Code: [ Download ] [ Select ]
ul {
  list-style-type: square;
}
  1. ul {
  2.   list-style-type: square;
  3. }
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 29th, 2006, 10:37 pm

  • typhon
  • Guru
  • Guru
  • User avatar
  • Joined: Oct 25, 2004
  • Posts: 1271
  • Loc: Memphis, Tn
  • Status: Offline

Post January 29th, 2006, 11:23 pm

What version of IE are you runnig. It seems to work fine in IE 6
-- Never hold a cat and a hairdryer at the same time.
  • philtrated
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Aug 23, 2005
  • Posts: 62
  • Status: Offline

Post January 30th, 2006, 1:23 am

version 6 :)
  • typhon
  • Guru
  • Guru
  • User avatar
  • Joined: Oct 25, 2004
  • Posts: 1271
  • Loc: Memphis, Tn
  • Status: Offline

Post January 30th, 2006, 6:43 am

Code: [ Download ] [ Select ]
ul.main {
margin-left:15px;
list-style-type:square;
font-size:.9em;
font-family:verdana;
color:#ffffff;
  1. ul.main {
  2. margin-left:15px;
  3. list-style-type:square;
  4. font-size:.9em;
  5. font-family:verdana;
  6. color:#ffffff;


when used <ul class="main">
<li>item1</li>
<li>item2</li>
<li>item3</li>
</ul>

gives a square bullet. I wouldnt think that just because of the class would make a difference. Although I didnt try the 'bare bones' without a class the way you had it.
-- Never hold a cat and a hairdryer at the same time.
  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Joined: May 29, 2005
  • Posts: 1408
  • Loc: 55° N, 3° W
  • Status: Offline

Post January 30th, 2006, 8:29 am

The code you provided does make square bullets in IE. Try it in a blank page
that contains nothing else and you will see.

Without being able to see your page as a whole, I would guess that the margins
of the list are out of whack somehow. The bullets are probably there but are
being displayed underneath another part of the page.

If you could show us the rest of the page it would be helpful.
  • Impel GD
  • Professor
  • Professor
  • No Avatar
  • Joined: Oct 26, 2004
  • Posts: 833
  • Loc: Cologne, Germany
  • Status: Offline

Post January 30th, 2006, 9:27 am

List Display Problems In Explorer For Windows

I've found that article helpful in the past.

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: the_atom and 91 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2010 Unmelted, LLC. Driven by phpBB © 2010 phpBB Group.