inch measurement : measurement : Style Basics HTML CSS TUTORIALS


HTML CSS TUTORIALS » Style Basics » measurement »

 

inch measurement


 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title> inch measurement </title>
        <style type='text/css' media='all'>
          body {
            font-size: 10pt;
            color: white;
            text-align: center;
          }
        
          div {
            margin: 5px;
            background: black;
          }
        
            div#inches {
              width: 1in;
          height: 1in;
      }
      div#pixels {
        width: 96px;
        height: 96px;
      }

        </style>
    </head>
    <body>
            <div id='inches'>
              &lt;--1in--&gt;
            </div>
            <div id='pixels'>
              &lt;--96px--&gt;
            </div>
    </body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Style Basics
» measurement