Posted By

otternq on 09/28/11


Tagged

header xhtml


Versions (?)

HTML - Header


 / Published in: XHTML
 

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <!-- jQuery Libraries -->
  6. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js" type="text/javascript"></script>
  7. <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js" type="text/javascript"></script>
  8.  
  9. <!-- Custom Javascript Code -->
  10. <script src="/main.js" type="text/javascript"></script>
  11.  
  12. <!-- do not allow devices to scale (zoom) - that means the phone css must be very readable -->
  13. <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0" />
  14.  
  15. <!-- specify content type
  16. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  17.  
  18. <!-- style sheet for jQuery UI -->
  19. <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
  20.  
  21. <!-- load the specific css style -->
  22. <link type="text/css" rel="stylesheet" media="screen and (max-device-width: 800px)" href="phone.css" />
  23. <link type="text/css" rel="stylesheet" media="screen and (min-device-width: 801px)" href="main.css" />
  24.  
  25. </head>
  26. <body>

Report this snippet  

You need to login to post a comment.