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:
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?
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 :? .
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘CSS’ is closed to new topics and replies.