position
, pero establece la propiedad de float
de un elemento. Los elementos flotantes se eliminan del flujo normal de un documento y se empujan hacia la left
o hacia la right
de su elemento principal que contiene. Se usa comúnmente con la propiedad de width
para especificar cuánto espacio horizontal requiere el elemento flotante. section
y aside
uno al lado del otro. Dé al elemento #left
un float
de la left
y el elemento #right
un float
de la right
. left
debe tener un valor float
de left
.
testString: 'assert($("#left").css("float") == "left", "The element with id left
should have a float
value of left
.");'
- text: El elemento con id right
debería tener un valor float
de right
.
testString: 'assert($("#right").css("float") == "right", "The element with id right
should have a float
value of right
.");'
```
Good stuff