Guest User

Test.html/css

a guest
Oct 12th, 2013
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ------------------------------------------------------------
  2. --test.html--
  3. ------------------------------------------------------------
  4. <html>
  5. <head>
  6. <title>Test Page</title>
  7. <link rel="stylesheet" type="text/css" href="test.css">
  8. </head>
  9.  
  10. <body>
  11.  
  12. <!-- site nav -->
  13. <ul class = "nav">
  14. <li><a href="http://www.youtube.com/computoguy">My YouTube</a></li>
  15. <li><a href="http://www.twitter.com/computoguy">My Twitter</a></li>
  16. </ul>
  17.  
  18. <!-- content -->
  19. <h1>Test</h1>
  20. <br>
  21. <p>So, hello there. How are you doing today?</p>
  22. </body>
  23.  
  24. </html>
  25.  
  26. ------------------------------------------------------------
  27. --test.css--
  28. ------------------------------------------------------------
  29. @charset "UTF-8"
  30.  
  31. body{
  32. background-color: #394859;
  33. padding-left: 300px
  34. }
  35.  
  36. h1{
  37. font-family: Arial Bold;
  38. color: #0DFF7A
  39. }
  40.  
  41. p{
  42. font-family: Arial;
  43. color: #FFFFFF
  44. }
  45.  
  46. ul.nav{
  47. list-style-type:none;
  48. position: absolute;
  49. top: 10px;
  50. left: 10px
  51. }
  52.  
  53. ul.nav li{
  54. background: #222222;
  55. padding: 0.2em;
  56. margin: 1em 0;
  57. border-right: 1em solid #222222
  58. }
  59.  
  60. a{
  61. font-family: Arial;
  62. color: #FF781F
  63. }
Advertisement
Add Comment
Please, Sign In to add comment