I need to reference a ul that appears only inside a certain div id ("news"). I use the rule:
#news>ul{
..whatever
}
This works fine w/ firefox, but not IE. Is there a more universal way to reference the ul?
Thanks for any feedback#news ul {
whatever;
}The ">" is the child selector. Internet Explorer doesn't support that. You'll want to use the descendant selector " " instead.
#news ul {
/* Styles go here */
}
EDIT: BonRouge got to it first
#news>ul{
..whatever
}
This works fine w/ firefox, but not IE. Is there a more universal way to reference the ul?
Thanks for any feedback#news ul {
whatever;
}The ">" is the child selector. Internet Explorer doesn't support that. You'll want to use the descendant selector " " instead.
#news ul {
/* Styles go here */
}
EDIT: BonRouge got to it first