CSS - Box Properties


The elements of Cascading Style Sheets that influence the characteristics of the box surrounding elements are shown below. These attributes apply to images and characters etc.

clear Controls line breaking around elements.
width Sets the width of elements.
height Sets the height of elements.
margin Adjusts the margins surrounding elements.
padding Adjusts the internal padding of boxes surround elements.
border Determines the characteristics of borders drawn around elements.
float Controls the positioning of elements.