code_junkie

Yui, how to remove the margins for a 2 column layout?

Nov 11th, 2011
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE>testing</TITLE>
  5. <!-- css -->
  6. <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.5.2/build/reset-fonts-grids/reset-fonts-grids.css">
  7. <!-- js -->
  8. <script type="text/javascript" src="http://yui.yahooapis.com/combo?2.5.2/build/utilities/utilities.js"></script>
  9. <style>
  10. .yui-b {
  11. background-color: #eeeeee;
  12. }
  13.  
  14.  
  15. </style>
  16. </HEAD>
  17.  
  18. <BODY>
  19. <div id="doc3" class="yui-t1"> <!-- change class to change preset -->
  20. <div id="hd">header</div>
  21.  
  22. <div id="bd">
  23. <div id="yui-main">
  24. <div class="yui-b">
  25. bd.main
  26. </div>
  27. </div>
  28.  
  29. <div class="yui-b">bd.other</div>
  30. </div>
  31.  
  32. <div id="ft">footer</div>
  33. </div>
  34. </BODY>
  35. </HTML>
Add Comment
Please, Sign In to add comment