Today we looked at creating a basic layout like this…
body {
margin-top:0px;
margin-left:0px;
background-color:#CCC;
This code aligns it to the centre!
First we started a new HTML and saved the first page as ‘index’ then attached a style sheet.
All content went in-between <body> tags.
Advertisements