Sunday, August 7, 2011

Tab Menu

ni tab manu aku, kalau korang nak buat tab menu, boleh la amek yang ade ni atau boleh buat sendiri. senang je.. tab manu ni macam yang korang nampak la yang kat atas tu kan.. masalahnya, macam mana nak buat kan? 

cara-caranya ialah:
1. create page - masalahnya, macam mana nak create page? macam page facebook ke? mula-mula, korang pergi kat design kat atas sebelah kanan tu, nampak tak? lepas tu, kat tepi sebelah kiri ada tulis PAGE, klik kat situ. then korang boleh create berapa banyak yang korang nak. 

2. layout - klik kat layout pulak. lepas tu, add gadget HTML/javascript . add yang kat belah atas kalau korang nak macam aku tu....

3. copy  dan paste kan kat gadget HTML/javascript tadi. letak page url korang dan image url yg korang nak.


code yang atas ni untuk buka pada web yang sama..


kalau nak buka pada new tab,guna code yang kat atas ni.

4.buat banayk-banyak kali kalau korang nak buat banyak slot.

5. save la..ape lagi...dh siap! tada...
slamat mencuba! =^_^=

p/s : kalau untuk home, letak URL blog korang je..













Friday, August 5, 2011

cursor


Apa beza HTML dan CSS? HTML digunakan untuk struktur kandungan. Manakala CSS pula digunakan untuk mengformatkan kandungan berstruktur. Faham tak? Maksudnya lagi, CSS ni under HTML la. CSS ni lebih kepada layout. 1.body { background-attachment: fixed; }

Ade tiga posible value:inherit - maksudnye dia ikut yang format sebelumnye. (Specifies that the setting of the background-position property should be inherited from the parent element.)scroll(defult)- maksudnya gambar tu akan ke atas bila kita scroll. fixed - maksudnya gambar tu akan tetap.tak gerak2. 2. body { background-position: center; }
Posible value:left top left center left bottomright top right center right bottom center topcenter center center bottom 50% 50% (boley letak ape2 number yg kamu mahu) 50px 100px (dalam pixels. boley letak ape2 number yg kamu mahu) inherit 3. background-color:yellow;

body

{

background-color:yellow;

}

h1

{

background-color:#00ff00;

}

p

{

background-color:rgb(255,0,255);

}

This is heading 1 This is a paragraph.

blog background !















 
Blog Template by Delicious Design Studio