This is the fourth part in my CSS Styling tutorials, in which I will be covering Borders.
Borders around elements come between the elements margin and padding. So, if the element has padding, the border will be away from the element whereas if the element only has margin, the border will be next the element but away from other elements.
The basic border attribute takes three arguments; Width, Type, Colour. The below code would give a solid white border that is 5 pixels width...
border: 5px solid #ffffff;
Or this code would give a dashed