Advertisement
Guest User

resize issue

a guest
Jun 12th, 2013
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.87 KB | None | 0 0
  1. Style.css
  2.  
  3. body
  4. {
  5. background-color: blue;
  6. }
  7. #info
  8. {
  9. background-color: white;
  10. margin: 25px 100px 100px 100px;
  11. border-style: inset;
  12. border-width: 10px;
  13. padding: 10px;
  14. }
  15. #logo
  16. {
  17. margin-left: 5px;
  18. margin-right: 815px;
  19. margin-top: 5px;
  20. margin-bottom: 115px;
  21. }
  22.  
  23.  
  24. INDEX.HTML
  25.  
  26. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  27.  
  28. <html xmlns="http://www.w3.org/1999/xhtml">
  29. <head>
  30. <meta name="keywords" content="" />
  31. <meta name="description" content="" />
  32. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  33. <title>Daniel Hopkins Personal Website</title>
  34.  
  35. <link href="style.css" rel="stylesheet" type="text/css" media="screen" />
  36. </head>
  37.  
  38. <body>
  39. <div id = "info">
  40.  
  41. <div id = "logo">
  42. <img src="logo.png" alt="some_text" width=600 height=450>
  43. </div>
  44.  
  45. </div>
  46. </body>
  47.  
  48. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement