Since IE6 does not support the child selector (see http://kimblim.dk/csstest/#ex1), what is the alternative when dealing with this browser?
I do not want to modify the m
A cross-browser solution that I have used is the following. It doesn't use IE6 hacks and displays embedded lists correctly (say you need to style OL and UL nested items differently).
ul, ol {
/* Set margins, padding, and other generic styles */
}
ul li, ul ul li, ol ul li {
list-style-type: disc; /* unordered lists */
}
ol li, ul ol li, ol ol li {
list-style-type: decimal; /* ordered lists */
}
It's as easy as yodeling CSS!