Kevin Cannon wrote:
>Hi,
>
>Is it possible ot use a rule with an ID and a class name in IE. e.g. like so:
>
> <div id="tabs" class="ski">...</div>
>
> #tabs.ski {
> background-color: green;
> }
>
>That works fine in Firefox, but in IE the first rule works, but subsequent
>ones don't:
>
>http://www.multiblah.com/exps/css/id_class.html
>
>On that page, #tabs.home doesn't work, but if I change it to #tabs.ski it'll
>work fine in all browsers.
>
>I'm at a bit of a loss, and so are the oher CSS afficiando's in here.
>
>Any ideas?
>
>- Kevin
>
According to Selectoracle:
<http://penguin.theopalgroup.com/cgi-bin/css3explainer/selectoracle.py>
#tabs.ski {background-color: green;}
Selects any element with an |id| attribute that equals |tabs| and a
|class| attribute that contains the word |ski|.
Selectorial is a great site for information on selectors and
cross-browser support for same:
<http://css.maxdesign.com.au/selectutorial/>
Regards,
~dL
--
David Laakso
http://www.dlaakso.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/