Orlando: background-position: Unterschiede CSS2/CSS2.1

Beitrag lesen

Hi tschinkes,

background-position:100% 103px;
Man darf es nur nicht mischen mit beschreibung und Zahlen.

richtig, das sagt auch das W3C, jedenfalls für CSS2:

| Keywords cannot be combined with percentage values or length values.

Das wird (vermutlich!) erst in CSS2.1 erlaubt sein:

| For combinations of keyword and non-keyword values, 'left' and
| 'right' may only be used as the first value, and 'top' and 'bottom'
| may only be used as the second value.

Einige Browser akzeptieren das bereits in vorauseilendem Gehorsam.

Grüße,
 Roland