Pages

May 7, 2009

Men'center'kn Title Blog

Hari ni ak dpt explore mnde baru kt code HTML blog..iaitu care untuk center kn title blog n also adjust2 die nye b/ground..

Disbabkn ak nk tukar header mmndgkn tmplate ak dh d ubah, ak pn men2 la ngan code template HTML..Kalo ak xubah coding die, rupe header ak gini..

Bruk sungguh..dhla nmpak b/ground header tu pn cam terpotong..ak lak malas la nk edit header nye b/ground 2 3 kali..so solution die ialah coding..

Firstly after dah upload desired background for header, g ke tab layout n choose edit HTML..


Secondly, under edit template tu, g ke part header..

Utk adjust2 b/ground header (biase blogger set 660px), g ke bhgn direct bawah header iaitu, header-wrapper n edit width die..bereksperimen la ngan px die..cam ak nye ak buat 675px..


Thirdly, after rase cam dh ssuai je kddkan b/ground die, g lak ke header h1(still under header) untuk edit title nye position..

N men2 la dgn padding die nye px..cam ak nye header utk btul2 center, ak set 130px 20px .25em;..margin ak xkaco..

"Margin and padding both specify the amount of space around something. The difference is that a margin is outside the border and padding is inside.."

So..tada..ni la hasilnye..lebih center kn..

0 wrote back: