Google News
logo
UI Developer - Interview Questions
How do floats work?
Floats push the element to the left or right. The float property can have one of four values :
 
Inherited : The element inherits the parent’s float value

None : This is the default value; the element doesn’t float

Left : The element floats to the container’s left

Right : The element floats to the container’s right
Advertisement