Advertisement
PayneLess_Designs

PayneLess Designs - HTML 4.01 Frameset Template

Dec 17th, 2012
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.56 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
  2. <html lang="en-US">
  3. <head>
  4. <title>Frameset - Validating</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" dir="ltr">
  6. </head>
  7.  
  8. <!-- Most people don't bother validating their frameset page since it doesn't add anything to the screen. But now you will know how if you want to do it. This works the same way in HTML 4. All you have to do is replace the Doctype above. -->
  9.  
  10. <!-- The Frameset code is what you need to get rid of the framespacing in Internet Explorer and other browsers. The Conditional Comments below hides the code from the validator. The framespacing attribute gets rid of the framespacing in Internet Explorer and border gets rid of it in all the other browsers. -->
  11.  
  12. <!--[if ie]>
  13. <frameset rows="100%" cols="200,*" framespacing="0" frameborder="0">
  14. <frame name="menu" src="menu.html">
  15. <frame name="main" src="main.html">
  16. <noframes>
  17. <p>Sorry, your browser does not handle frames!</p>
  18. </noframes>
  19. </frameset>
  20. <[endif]-->
  21.  
  22. <!-- The purpose for the following Frameset code is to satisfy the validator. Make certain the rows and cols in the frameset tag below matches the ones in the frameset tag above. This way when this frameset code is loaded it won't change the settings that were set above. -->
  23.  
  24. <frameset rows="100%" cols="200,*">
  25. <frame name="menu" src="menu.html">
  26. <frame name="main" src="main.html">
  27. </frameset>
  28.  
  29. <!-- To add more attributes to the FRAME tag visit http://www.w3schools.com/tags/tag_frame.asp -->
  30.  
  31. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement