Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Anything Slider not displaying list bullets

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28559
    mrab54
    Member

    Hello,

    I am trying to add a another slide that has a list to the Anything Slider demo. I am running into a problem where my lists bullets are not displaying.

    Code:
  • tomato sandwich

    Queenie’s Killer Tomato Bagel Sandwich

    Ingredients

    • 1 bagel, split and toasted
    • 2 tablespoons cream cheese
    • 1 roma (plum) tomatoes, thinly sliced
    • salt and pepper to taste
    • 4 leaves fresh basil
    • testing

The bullets do display on the #textSlide div. The style for class "test" is exactly the same as the style for div id "textSlide". If I change the second div to "<div id="test"> and give the same styling for #test as #textSlide, the bullets do appear. I cannot for the life of me figure out what is going on. Does anybody have any ideas?

#73138
mrab54
Member

It seems every time I post a question on a forum I find a solution right away. Something in my css file was trumping my .test styles to I just added the containing div to the style like so:

#container .test ul {list-style-type:disc;}

That seems to do the trick. Although, I still can’t figure out where this mystery list-style-type:none was coming from :? .

Viewing 2 posts - 1 through 2 (of 2 total)