ChrisB: Was WENN du das nicht kennst?

Beitrag lesen

Hi,

Ich kann nicht einfach sagen:
p.special{
  float:left;
  display:inline-block;
}

Doch, kannst du sagen.

Da komm ich nirgends hin.

Wo willst du denn ueberhaupt hin?

Ich muss sagen können:
p.special{
  float:left;
}
@IF display;inline-block{
p.special{
   float:none;
   display:inline-block;
}
}

Und was soll das letztendlich bewirken?

Wenn float einen von none abweichenden Wert hat - dann fuehrt inline-block sowieso zu einem computed value von block fuer display.

Das taugt als Beispiel also mal irgendwie ueberhaupt nichts.

MfG ChrisB

--
„This is the author's opinion, not necessarily that of Starbucks.“