>
> I shoud imagine its these two rules that is causing a bit of ambiguity :
>
> .album *
> {
> position: absolute;
> z-index: 0;
> }
>
> .albumSub
> {
> z-index: 100;
> position: absolute;
> /* other stuff */
> }
>
> I am guessing that the first rule is given a higher specificity,
> however according to [1] the * should not give it any higher
> specificity, but it isn't absolutely clear about the subject. I guess
> its a different interpretation of the standard.
>
> If I were you I'd not use the wildcard selector because its not
> immediately obvious. You can target the a element for that. Then I'd
> override that with the second rule, using .album as an extra class
> name to increase its specificity :
>
> .album a
> {
> position: absolute;
> z-index: 0;
> }
>
> .album .albumSub a
> {
> z-index: 100;
> position: absolute;
> /* other stuff */
> }
>
> HTH
>
> Sam
>
> [1] http://www.w3.org/TR/CSS21/cascade.html#specificity
>
Hi!
I tried the above solution, but the bottom <a> element is still overlapping
the top <div> and <a>
I overwrited the corrected version you suggested here:
http://neovizija.com/emanuel/
Any other ideas folks?
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/