--- id: 587d78a3367417b2b2512ace title: Push Elements Left or Right with the float Property challengeType: 0 videoUrl: 'https://scrimba.com/c/c2MDqu2' --- ## Description
The next positioning tool does not actually use position, but sets the float property of an element. Floating elements are removed from the normal flow of a document and pushed to either the left or right of their containing parent element. It's commonly used with the width property to specify how much horizontal space the floated element requires.
## Instructions
The given markup would work well as a two-column layout, with the section and aside elements next to each other. Give the #left item a float of left and the #right item a float of right.
## Tests
```yml tests: - text: The element with id left should have a float value of left. testString: assert($('#left').css('float') == 'left', 'The element with id left should have a float value of left.'); - text: The element with id right should have a float value of right. testString: assert($('#right').css('float') == 'right', 'The element with id right should have a float value of right.'); ```
## Challenge Seed
```html

Welcome!

Content

Good stuff

```
## Solution
```html

Welcome!

Content

Good stuff

```