Basic CSS layout
Example of stylesheet to be used as a basis for any type of work.
This stylesheet can be used as a base from which to carry out any type of work.
/* body and text colour */
body {background:#FFF; color:#333;}
/* body and font style */
body {font: 100.01% Arial, Helvetica, sans-serif}
h1 {font-size: 2.4em}
h2 {font-size: 1.8em}
h3 {font-size: 1.4em}
h4 {font-size: 1.2em}
h5 {font-size: 1em}
h6 {font-size: 0.85em}
/* line-height */
p, blockquote, pre, ol, dl, ul, form {line-height:1.5}
/* margin and padding */
html, body {margin: 0; padding: 0}
h1, h2, h3, h4, h5, h6 {margin: 0.7em 0 0.2em}
address, blockquote, dl, form,
fieldset, ol, table, p, pre, ul {margin-top: 0.2em; margin-bottom: 1.2em}
/* container style */
div#container {width:40em; margin: 2em auto}Notes
Publication details
Category: CSS
Published by: loryzz on date: 06.03.2008 19:13:49
Last edit by: loryzz on date: 02.04.2008 16:54:26
Ratings
Leave a comment
All comments must be approved by site administrator.
Please write comments on topic. Spam will be never approved.
CSS: Linked articles
XHTML and CSS strike alternatives published by loryzz in CSS
Testo lampeggiante published by loryzz in CSS
Table style with css published by loryzz in CSS
Min-width property published by loryzz in CSS
Min-height property published by loryzz in CSS
























Ritorna all'inizio
Based total comments
0 %
Comments percentage
0 %