Add scrollbar to blog post

Tuesday, February 9, 2010

Scrollbars to Blog Post body

Untuk membuat scrollbars pada setiap blog posts, anda perlu login ke Blogger akaun, klik Layout -> Edit HTML dan cari "post".Kemudian Add perkataan yang berwarna red seperti yang ditunjukkan dibawah :-

.post {
height:200px;
overflow:auto;
}

Result:Ini akan membuat scrollbars pada setiap post seperti dibawah:-

Scrollbars within Blog Post


Kadang - kadang ,anda tidak mahu scroll bar pada setiap blog posts,tetapi hanya pada sesetengah parenggan dalam blog post sahaja.

Contohnya,
.scrollbox {
height:100px;
width:400px;
overflow:auto;
}


Save template. Kemudian,bila anda mahu menulis post , switch dari “Compose” mode ke “Edit HTML” mode.



Add tags (perkataan red)sebelum dan selepas ayat-ayat yang anda mahu berada dalam scrollbar
.
Contohnya:




Kemudian, anda boleh sambung menulis dengan switch semula ke "Compose"mode.

Selepas anda selesai menulis,dan anda publish entri anda,anda akan dapati scrollbar dalam entri anda,seperti dibawah:-
Blog Widget by LinkWithin

0 comments:

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))
Leave Your Comment

 

Ratuhati Kami

  • Harith
  • Harith
  • Harith
  • Harith
  • Harith
  • Harith
  • Harith
  • Harith

IslaMy

© Copyright 2010-2011 KITA SEMUA SAMA All Rights Reserved.
| Published by LoveJurnal | Powered by Blogger.com.