Skip to main content

Float and Clear

Introduction: This is the eighth part in my CSS Styling tutorials, in which I will be covering floating. What is Float? Float is used to make an element act as a lightweight object which can fit in white space and therefore removes its aligning to center and such like. The use of float is to essentially make an element inline display with other elements which are already inline displayed or also have a float. Float can be used in places such as navigation bar links, gallery image thumbnails and columns of information. Clear: Clear is also used in conjunction with Float which can be

Add new comment