HTML and CSS Reference
In-Depth Information
APPENDIX B
Chapter 4 - Completed Style
Listing B-1 shows the completed style element from the Chapter 4 project. I've explained this in pieces but am
including it here if you want to see it all together.
Listing B-1. Chapter 4 completed style element
<style>
/* Basic tag settings */
body
{
margin: 0 auto;
width: 940px;
font: 13px/22px Helvetica, Arial, sans-serif;
background: #f0f0f0;
}
h2
{
font-size: 18px;
line-height: 5px;
padding: 2px 0;
}
h3
{
font-size: 12px;
line-height: 5px;
padding: 2px 0;
}
h1, h2, h3
{
text-align: left;
}
p
{
padding-bottom: 2px;
}
 
Search WWH ::




Custom Search