Fix Footer height

We should use

<div style=”clear:both”></div>

to force layer not floating into footer or to fix the footer background at same height.  Place the code between div body and div footer.

The clear style used to setting the floating elements not allowed on the specified side.

Both :

No floating elements allowed on either the left or the right side

Right :

No floating elements allowed on the right side

Left :

No floating elements allowed on the left side

 

Leave a Comment