Basic Page Formatting with Embedded Style Sheets

Here's an example of a page formatted using style sheets. The margins, fonts, colors, and background have been formatted.

Let's look at the <BODY> tag. You can pretty much read it like English.
body {
background: #ffff89;
margin-left: 1in;
margin-right: 1.5in;
font-size: 12pt;
font-family: comic sans ms;
color: #ff0000;
text-align: left;
}

We set the background to a light shade of yellow. If you want a page heavy in graphics, you may want to set the margins to zero inches. You may also set it to n number of pixels (px).

RETURN