O'Reilly logo

Pro HTML5 with Visual Studio 2012 by Mark Collins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required