surmonte-r

Base tutorial css

Apr 20th, 2013
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 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">
  3. <head profile="http://gmpg.org/xfn/11">
  4.  
  5. <head>
  6.  
  7. <title>{Title}</title>
  8. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  9. <link rel="shortcut icon" href="{Favicon}">
  10.  
  11. </head>
  12.  
  13. <style>
  14.  
  15. body {background: #eee; font-family: tahoma; font-size: 11px; text-align: justify; color:#000;}
  16.  
  17.  
  18. blockquote {padding: 3px 6px 3px 8px; background-color: #f4f4f4; background-repeat: no-repeat; margin-top: 5px; margin-left: 2px; margin-bottom: 5px; margin-right: 2px; font-size: 12px; color: #999; line-height: 18px; border-left: 5px solid #000; text-shadow: 1px 1px 1px #fff; text-align: justify;}
  19.  
  20.  
  21. a {color: #999; text-decoration: none;}
  22. a:hover {color: #ccc; }
  23.  
  24.  
  25. strong, b, bold {color: #86b8b7; text-decoration:none; font-weight:bold;}
  26. i, em, italic {color: #7a6d6d; }
  27. u, underline {text-decoration:none; color: #fff; border-bottom: 2px solid #d7a284;}
  28. s, strike {color: #d7a284;}
  29.  
  30.  
  31. #content {margin-left: auto; margin-right: auto; width: 820px;}
  32.  
  33. #sidebar {float: right; margin-top: 20px; position: absolute; width: 290px;}
  34.  
  35. #posts {float: left; margin-top: 20px; position: absolute; width: 510px;}
  36.  
  37. </style>
  38.  
  39. <body>
  40.  
  41. <div id="content">
  42.  
  43. <div id="sidebar">
  44. Conteúdo
  45. </div>
  46.  
  47. <div id="posts">
  48. Conteúdo
  49. </div>
  50.  
  51. </div>
  52.  
  53. </body>
  54.  
  55. </html>
Advertisement
Add Comment
Please, Sign In to add comment