Sent by Jurgen Haug on 9 October 2003 22:10
Hello crepe2,
Thursday, October 9, 2003, 8:27:29 PM, you wrote:
> I was excited, having managed to validate every page in
> http://highmore.org as xhtml/css . . . but, alas, Opera(win) does not
> like my work in the least bit.
> - The left float is pushed down
> - All of the main body text is underlined
> The /only/ properties with value "underline" are links -- but
> even with that removed, the main text remains underlined.
> - The links don't behave properly
> Hover should cause under/over lines and background coloring.
> I cannot, for the life of me, isolate the problem. I am aware
> validation doesn't ensure perfect code or uniform rendering, but I'd
> thought I'd have better luck with opera, at the very least.
you're not supposed to have spaces between the element and the pseudo-element, like here in your
.css:
> .bxbodytx :first-letter { font-size: 2em; float: left; padding: 0 .2em 0 .2em; margin-right: .2em;
}
>
> .bxbodytx :first-line { font-weight: bold; text-decoration:none;}
make it look like this, and it works:
> .bxbodytx:first-letter { font-size: 2em; float: left; padding: 0 .2em 0 .2em; margin-right: .2em;
}
>
> .bxbodytx:first-line { font-weight: bold; text-decoration:none;}
have a look at this:
> 5.2 Selector syntax
> A simple selector is either a type selector or universal selector followed immediately by zero or
more attribute selectors, ID
*******************
> selectors, or pseudo-classes, in any order. The simple selector matches if all of its components
match.
**************
> One pseudo-element may be appended to the last simple selector in a chain, in which case the style
information applies
************************************
> to a subpart of each subject.
coming from: http://www.w3.org/TR/REC-CSS2/selector.html#q2
--
Best regards,
Jurgen
Using The Bat! v2.00.22 on Win.XP.5.1.2600.SP1
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/