APPENDIX B

image

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; ...

Get Pro HTML5 with Visual Studio 2012 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.