> Try switching ur class and id around - so that tabs becomes the class
> and ski and home become the id's:
> 
> .tabs {
>         padding: 2em 1em;
>         border: 2px dotted black;
> }
> 
> .tabs#ski {
>         background-color: green;
> }
> 
> .tabs#home {
>         background-color: blue;
> }
> 
> ofcourse, rewrite the div as id="home" class="tabs" else no browser will
> see anything :)
> 
> That seemed to get it going in IE and FF for me, although maybe there's
> an approach that doesn't involve switching around id's and classes. Hope
> this helps..
> 

Why not just .home#tabs and .ski#tabs?

- Leszek
http://leszek.swirski.co.uk

______________________________________________________________________
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/

Reply via email to