This is a discussion on A Mixture of New Styles in html within the Graphics forums, part of the Tutorials category; Let us modify the look of the site a little more: we’ll add more styles to the body, and change ...
Let us modify the look of the site a little more: we’ll add more styles to the body, and change the look of the navigation. Extract the CSS below into your style1.css file (or copy it from the book’s code archive):
/*CSS for Bubble Under site*/
body { font-family: Verdana, Helvetica, Arial, sans-serif;
background-color: #e2edff; line-height: 125%; padding: 15px;
}
h1 { font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
font-size: x-large;
}
li { font-size: small;}
h2 { color: blue; font-size: medium; font-weight: normal;
}
p { font-size: small; color: navy;
}
Save the CSS file, then click Reload in your browser.
Bookmarks