/ Published in: XHTML
Based on templates by luxuryluke and Kevin Hale.
Basic XHTML 1.0 layout which includes basic layout structure and is prepared for jQuery. On load a 'js' class is added to the root element in order to nicely handle graceful degradation if JS is disabled and prevent flickering if JS is enabled.
Also see the related CSS template.
Basic XHTML 1.0 layout which includes basic layout structure and is prepared for jQuery. On load a 'js' class is added to the root element in order to nicely handle graceful degradation if JS is disabled and prevent flickering if JS is enabled.
Also see the related CSS template.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="ltr"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <!-- Meta Tags --> <base href="" /> <meta name="author" content="#" /> <meta name="description" content="#" /> <meta name="copyright" content="#" /> <meta name="robots" content="#" /> <meta name="generator" content="#" /> <meta name="keywords" content="#" /> <meta http-equiv="expires" content="#" /> <meta http-equiv="cache-control" content="#" /> <!-- Fav icon --> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <!-- JavaScript setup --> <script type="text/javascript"> /*<![CDATA[*/ // add 'js' class to root element to nicely allow css that degrades gracefully if js is disabled document.getElementsByTagName('html')[0].className = 'js'; /*]]>*/ </script> <!-- CSS --> <link rel="stylesheet" href="/stylesheets/screen.css" type="text/css" media="screen, projection" /> <link rel="stylesheet" href="/stylesheets/print.css" type="text/css" media="print" /> <!--[if IE]> <link rel="stylesheet" href="/stylesheets/ie-all.css" type="text/css" media="screen, projection" /> <![endif]--> </head> <body> <div id="container"> <div id="header"> </div><!-- end header div --> <div id="nav"> <ul class="menu"> </ul> <ul class="breadcrumbs"> </ul> </div><!-- end nav div --> <div id="main"> <ul class="sidebar"> </ul> <div id="sub1"> </div> <div id="sub2" class="hide"> </div> </div><!-- end main div --> <div id="footer"> </div><!-- end footer div --> </div><!-- end container div --> <!-- place Google Analytics code here --> </body> </html>