Posted By

neogeek on 07/01/06


Tagged

template standard


Versions (?)

Who likes this?

9 people have marked this snippet as a favorite

luman
jleblanc
alvaroisorna
mate
j4k
vali29
fukami
hans
hellotoyousir


XHTML 1.0 Transitional Template


 / Published in: HTML
 

A basic XHTML 1.0 Transitional template with CSS cross-browser fixes already in place.

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  3. <title>Untitled Document</title>
  4. <style type="text/css">
  5.  
  6. /* Cross-Browser Fixes */
  7.  
  8. * { margin: 0px; padding: 0px; }
  9.  
  10. br, div, p { clear: both; }
  11.  
  12. img { border-style: none; }
  13.  
  14. </head>
  15.  
  16.  
  17. <div id="container">
  18.  
  19.  
  20. </div>
  21.  
  22. </body>
  23. </html>

Report this snippet  

You need to login to post a comment.