Monday 2 July 2012

modifikasi tag "pre"

CSS Only, Zebra Striped PRE Tag

kode css

pre {
  display:block;
  font:normal 12px/22px Monaco,Monospace !important;
  color:#CFDBEC;
  background-color:#2f2f2f;
  background-image:-webkit-repeating-linear-gradient(top, #444 0px, #444 22px, #2f2f2f 22px, #2f2f2f 44px);
  background-image:-moz-repeating-linear-gradient(top, #444 0px, #444 22px, #2f2f2f 22px, #2f2f2f 44px);
  background-image:-ms-repeating-linear-gradient(top, #444 0px, #444 22px, #2f2f2f 22px, #2f2f2f 44px);
  background-image:-o-repeating-linear-gradient(top, #444 0px, #444 22px, #2f2f2f 22px, #2f2f2f 44px);
  background-image:repeating-linear-gradient(top, #444 0px, #444 22px, #2f2f2f 22px, #2f2f2f 44px);
  padding:0em 1em;
  overflow:auto;
}

Cara memasang:

  • Copy kode css di atas, lalu buka halaman blog anda --> Template --> Edit Html -->cari kode ]]></b:skin> (klik "ctrl+f" pada keyboard anda ketik "]]></b:skin>") --> paste kode css yang tadi di atasnya --> simpan template dan selesai....!!
  • Atau masuk Akun Blog Anda --> klik "Tata Letak" --> klik "Tambah Gadget" --> pilih "Html/Java Script" --> ketik "<style>  </style>" --> letakkan Kode Css di atas di antara kode "<style> dan </style>" --> simpan dan selesai......!!
Semoga Bermenfaat.....!!

sumber: http://hompimpaalaihumgambreng.blogspot.com/
Sumber :

DAFTAR ISI

No comments:

Post a Comment

Two Reasons why IPS is a "Must Have" for your Network

Introduction This is the third in my Security Series of Connect articles.  For more information on how to keep your enterprise environm...