The float property creates a floating box.
The floating iframe can be created by applying this property to the IFRAME element.
#example {
float: left;
}
Property |
Value |
Explanation |
float |
left |
the iframe floats to the left (the text wraps to the right of the iframe) |
right |
the iframe floats to the right (the text wraps to the left of the iframe) |
none |
the iframe doesn't float (default) |
Please see the "clears float" when you specified the left or right.
Example