PayneLess_Designs

PayneLess Designs - Image - Float Left and Right One Div

Mar 18th, 2012
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.06 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html><head>
  3. <title>Image - Float Left and Right One Div</title>
  4. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  5. <meta name="created" content="Sun, 18 Mar 2012 10:07:27 GMT">
  6. <meta name="author" content="PayneLess Designs">
  7. <meta name="copyright" content="Jan 2004 to present.">
  8. <style type="text/css">
  9. h1 { text-align: center; }
  10. #wrap { width: 800px; height: 325px; margin: 0 auto; }
  11. #float_left { display: block; float: left; width: 237px; height: 312px; }
  12. #float_right { display: block; float: right; width: 237px; height: 312px; }
  13. </style>
  14.  
  15. <!--[if IE]>
  16. <link rel="stylesheet" type="text/css" href="css_IE-only.css">
  17. <![endif]-->
  18. </head><body>
  19. <h1>Image - Float Left and Right (One Div)</h1>
  20.  
  21. <div id="wrap">
  22. <img id="float_left" src="http://i1087.photobucket.com/albums/j473/Stutter_Bug/Alchemy-test3.jpg" alt="">
  23. <img id="float_right" src="http://i1087.photobucket.com/albums/j473/Stutter_Bug/Alchemy-test3.jpg" alt="">
  24. </div>
  25. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment