Forums
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I have this in my wordpress header layout:
In my css file, i put these to handle the list:
#top-ad {
margin: 0 auto;
}
#top-ad li {
display: inline;
list-style: none;
list-style-image: none;
list-style-type: none;
}
FYI, the second list (top-ad-2), i show the Google Adsense 200×90 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:
#top-ad ul {
list-style: none;
}
not working
Do you have a live example of the page or the entire site code?
currently i am working on localhost…the bullets is small but i dont know why CSS cannot make them remove
Might be overwritten by another style?
Try:
#top-ad ul {
list-style: none !important;
}
You can also try to be more specific like:
#wrapper #sidebar #content #top-ad ul { list-style: none; }
(or whatever the path is to that div)
do you mean i have to start from the earliest selector like header???
TT Mark, the !important trick is not working as well. damn i hate ie
I’m not saying you have to, I’m saying it might help.
Like Mark said above, without a link to the site, it’s very hard for us to guess at what will help.
Try using a css reset. That should automatically ‘disable’ most browser specific styles.
i am trying..never know about css reset before..
Double check your code. Most likely an error or a style overriding it.
#top-ad ul {
list-style-type: none !important;
}
sidedesigner,
like i said, the important tag is also not working
Can’t you paste the entire page CSS and HTML?