pustakakoran

Kode Iklan Melayang Scroll di Kiri Kanan Web

Jul 16th, 2017
100
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Kode CSS:
  2.  
  3. /* iklan main code - START */
  4. .banner-kiri {
  5. position: absolute;
  6. width: 120px;
  7. height: 100%;
  8. background: url(http://bangunhubungan.com/iklan/bonusbejibun3.gif) white no-repeat;
  9. top: 20px;
  10. }
  11.  
  12. .banner-kanan {
  13. position: absolute;
  14. width: 120px;
  15. height: 100%;
  16. background: url(http://bangunhubungan.com/iklan/daftarviral.gif) white no-repeat;
  17. top: 20px;
  18. }
  19.  
  20. #banner_l { left: 30px; }
  21.  
  22. #banner_r { right: 30px; }
  23.  
  24. .zindex { z-index: -999; }
  25.  
  26. .banner-kiri a {
  27. display: block;
  28. width: 120px;
  29. height: 100%;
  30. border: 0;
  31. text-indent: -9999px
  32. }
  33.  
  34. .banner-kanan a {
  35. display: block;
  36. width: 120px;
  37. height: 100%;
  38. border: 0;
  39. text-indent: -9999px
  40. }
  41. /* iklan main code - END */
  42.  
  43.  
  44. =================
  45. Kode penampil:
  46.  
  47. <div id="banner_l" class="banner-kiri"><a target="_blank" href="http://bangunhubungan.com/gratis-ebook-premium-menaklukkan-hatinya.html">..</a></div>
  48. <div id="banner_r" class="banner-kanan"><a target="_blank" href="http://viral.bangunhubungan.com/?id=viral">..</a></div>
RAW Paste Data