Orlando: Kombinationen zw. Pseudoformaten?

Beitrag lesen

Hi Christian,

a:hover:first-letter {color:blue;}

Funktioniert nicht, zumindest nicht im Mozilla 1.2.1,

gut so, ist nämlich kehrvert.

input:focus:before {content:url('pfeil.gif');}

Funktioniert im Mozilla, sofern auch input:before definiert ist, sonst nicht. (sollte aber auch so funktionieren) Aber er spinnt mit dem Cursor.

Kombinationen aus Pseudoformaten sind in Mozilla leider allesamt noch etwas wackelig - soferne sich überhaupt etwas tut. :before:hover finde ich übrigens sehr sinnvoll, um Links zu kennzeichnen.

a[hreflang]:before {
   content:attr(hreflang)" ";
   color:#888;
   background-color:inherit;
   border:1px dotted #888;
 }

a[hreflang]:before:hover {
   color:#000;
   background-color:#efe;
   border-style:solid;
 }

Opera macht's :)

LG Roland