1. <div id="main">
  2.   <div id="sidebar">
  3.   SIDEBAR
  4.   </div>
  5.   <div id="content">
  6.   CONTENT
  7.   </div>
  8.   <div id="footer">
  9.   FOOTER
  10.   </div>
  11. </div>
  12.  
  13. #main {
  14.   width: 800px;
  15. }
  16. #sidebar {
  17.   float: left;
  18.   width: 250px;
  19. }
  20. #content {
  21.   float: right;
  22.   width: 550px;
  23. }
  24. #footer {
  25.   clear: both;
  26. }

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockcode>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".
  • Lines and paragraphs break automatically.

More information about formatting options