Element

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.

Display

Introduction: This is the seventh part in my CSS Styling tutorials, in which I will be covering display. What is Display? Display is a property which sets the type of behaviour that will be given in relation to the position of the given elements. Structure: display: {type}; Example:
  1. display: inline-block;