Hi dzulfriday. What a lot of people here have suggested should work. It is possible that you have written your css the right way, but have also declared a global list-style-type some where below #top-ad li list-style-type. I would make sure that this is not the case. If you find it is still happening even after looking through your css for any overriding styles, I would try to get your css and html up somewhere for us to review it.
What I sometimes do is write a new style at the end of the css file.
Then when it works, I'll move it to where I have stuff organized to.
Then reload the page just to make sure it is still working.
In my css file, i put these to handle the list:
FYI, the second list (top-ad-2), i show the Google Adsense 200x90 link ad.
its ok in FF, Chrome, Safari but in IE, it still show bullets!
i try to put all the list style in ul selector but the bullets are still there. anyone know how to deal this with IE?
Try:
#wrapper #sidebar #content #top-ad ul { list-style: none; }
(or whatever the path is to that div)
TT Mark, the !important trick is not working as well. damn i hate ie
Like Mark said above, without a link to the site, it's very hard for us to guess at what will help.
list-style-type: none !important;
}
like i said, the important tag is also not working
#top-ad ul li {
display: inline;
list-style: none;
list-style-image: none;
list-style-type: none;
}
-Mike
I had a similar situation. Oddly, when I selected the li directly using
li { list-style-type:none; }
and reloaded the page, the bullets did not display.
Then, I took that li selector out. The descendant selector
nav ul li { list-style-type:none; }
then worked.
What I sometimes do is write a new style at the end of the css file. Then when it works, I'll move it to where I have stuff organized to. Then reload the page just to make sure it is still working.
Just so everyone is aware, this thread is over 2 years old.
I blame Andrew85!