Advertisement
PayneLess_Designs

PayneLess Designs: Scroll Boxes - Side by Side

Jul 11th, 2012
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.98 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
  3. <title>Scroll Boxes - Side by Side</title>
  4. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  5. </head><body>
  6. <h1>Scroll Boxes - Side by Side</h1>
  7. <p>Uses inline CSS.</p>
  8. <div style="width: 1600px; height: 680px; margin: 0 auto;">
  9.  
  10. <div style="width: 785px; height: 340px; float: left; border: 1px solid #f00; padding: 5px; text-align: left; color: #06f500; overflow: auto; font-family: arial; font-size: 25px; font-style: normal; font-weight: normal; background: #000;">A red scroll box...</div>
  11.  
  12. <div style="width: 785px; height: 340px; float: right; border: 1px solid #0f0; padding: 5px; text-align: left; color: #00f5ec; overflow: auto; font-family: arial; font-size: 25px; font-style: normal; font-weight: normal; background: #000;">A green scroll box...</div>
  13.  
  14. </div>
  15. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement