Advertisement
PayneLess_Designs

PayneLess Designs - Background Image as Link

Jul 14th, 2011
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.60 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. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  4. <title>Background Image as Link</title>
  5. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
  6. <link href="css_page_designs.css" rel="stylesheet" type="text/css" />
  7. <meta name="description" content="" />
  8. <meta name="keywords" content="" />
  9. <meta name="author" content="" />
  10. <!-- <link rel="stylesheet" type="text/css" href="css_page_designs.css" /> -->
  11. <style type="text/css">
  12. * { margin: 0; padding: 0; border: 0; }
  13.  
  14. h1, #header { text-align: center; }
  15.  
  16. #header {
  17. display: block;
  18. width: 1280px;
  19. height: 1024px;
  20. padding: 2px;
  21. margin: 0 auto;
  22. background: #f0f url(http://img11.imageshack.us/img11/7775/rabbity.jpg) no-repeat center scroll; /* 1280 x 1024 */
  23. /* border: 2px solid #070; */
  24. }
  25.  
  26. span { display: block; visibility: hidden; }
  27. </style>
  28. </head>
  29. <body>
  30. <h1>Background Image as Link</h1>
  31.  
  32. <p><a id="header" href="http://PayneLessDesigns.com/" title="Click to visit PayneLess Designs"><span>Any text here is hidden.</span></a></p>
  33.  
  34. <p><a href="http://validator.w3.org/check?uri=referer" title="Valid XHTML 1.0 Strict"><img style="width:88px; height:31px;" src="http://www.w3.org/Icons/valid-xhtml10-blue" alt="Valid XHTML 1.0 Strict" /></a><a href="http://jigsaw.w3.org/css-validator/" title="Valid CSS!"><img style="width:88px; height:31px;" src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS!" /></a></p>
  35. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement