WebRef.eu  - Internet Marketing and Online Business Resources  

Home / Site Map | Contact


New CSS Stylesheet Template for Web Design

Below is a template for creating a new CSS stylesheet file. It puts in the important basics required in the stylesheet, and you can then add any additional styles needed.

@charset "utf-8";
/* Best to declare character encoding in stylesheet */

/* apply a natural box layout model to all elements, but allowing components to change */
/* http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */

html {
box-sizing: border-box;
*, *:before, *:after {
box-sizing: inherit;

body {
margin: 0; /* Allows divs to go to edge of browser */
font-family: Arial, Helvetica, sans-serif;
font-size: 1em; /* em is the font sizing unit recommended by w3c */

#container {
margin: 0px 0px 0px 0px;

Visit LowPrices.co.uk for Your UK Shopping


Low Prices UK Shopping

Compare Prices
at LowPrices.co.uk

Home / Site Map | Contact

All Content ©2020 WebRef.eu