topical media & game development

talk show tell print

#javascript-code-03-pos.htm / htm



  <html>
  <head>
  <style>
  p {
      border: 3px solid red;
      padding: 10px;
      width: 400px;
      background: #FFF;
  }
  
  p.odd {
      /* Positioning information goes in here */
      position: static;
      top: 0px;
      left: 0px;
  }
  </style>
  </head>
  <body>
      <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam ...</p>
      <p class='odd'>Phasellus dictum dignissim justo. Duis nec risus id nunc ...</p>
      <p>Sed vel leo. Nulla iaculis, tortor non laoreet dictum, turpis diam ...</p>
  </body>
  </html>
  
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.