/* REMOVE PADDING AND MARGIN VALUES */
/*Reset all html elements with asterisk. Asterisk is universal selector. Using universal to reset all can cause problems with form inputs and other elements in some browsers.*/
* {
padding:0;
margin:0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dt, dd, li, blockquote, address, table, thead, tbody, tfoot, caption, th, tr, td, a, pre, form, fieldset, label {
margin: 0;
padding: 0;
}
/*THEN DECLARE BOTTOM MARGIN FOR ALL BLOCK TEXT ELEMENTS - several ways*/
h1, h2, h3, h4, h5, h6, p, blockquote, form, label, ul, ol, dl, fieldset, address {
margin-bottom: 1em; /*relative to font size*/
}
h1, h2, h3, h4, h5, h6, p, blockquote, form, label, ul, ol, dl, fieldset, address {
margin-bottom: .75em; /* relative to font size, slightly less than text size*/
}
h1, h2, h3, h4, h5, h6, p, blockquote, form, label, ul, ol, dl, fieldset, address {
margin-bottom: 20px; /*fixed space regardless of font size*/