Kamis, 31 Desember 2009

ABOUT CSS

CSS merupakan kependekan dari Cascading Style Sheet yang memungkinkan kita untuk mendesain (style) tampilan dokumen (terutama HTML) dengan memisahkan isi dari dokumen HTML dengan kode untuk menampilkannya (CSS). Jika kita memiliki banyak file HTML, kita hanya perlu satu file CSS, sehingga ketika kita mengganti jenis huruf pada file CSS maka semua file HTML yang berhubungan pada file CSS tersebut akan berubah. CSS distandarisasi oleh W3C (World Wide Web Consortium). CSS dapat dipasang pada dikumen HTML yang telah jadi.
Memasang CSS

Ada 3 cara untuk memasang CSS pada dokumen HTML yaitu: External Style Sheet (file CSS berbeda dari file HTML), Internal Style Sheet (Kode CSS dipasang di dalam tag head HTML) dan Inline Style Sheet (Kode CSS langsung dipasang di tag HTML, tidak direkomendasikan). Saya sarankan anda menggunakan cara External Style Sheet karena lebih mudah dalam mengelolanya.

Adapun manfaat dari CSS adalah:
1. Kode HTML menjadi lebih sederhana dan lebih mudah diatur,
2. Ukuran file menjadi lebih kecil, sehingga load file lebih cepat,
3. Mudah untuk merubah tampilan, hanya dengan merubah file CSS saja,
4. Dapat berkolaborasi dengan JavaScript.
5. Digunakan dalam hampir semua web browser.

Pada umunya ada empat bagian yang sering ada dalam layout sebuah web yaitu:

Header –> berisi tema web/ judul
Menu –> menu link web
Content –> isi dari web
Footer –> identitas/ copyright

Itulah sedikit dasar-dasar CSS. Semoga dapat menambah wawasan dan bermanfaat bagi semua orang.

Dasar Dasar CSS

CSS atau Cascading Style Sheet merupakan bahasa pemrograman atau scripting yang biasanya digunakan untuk mengatur tampilan suatu website atau blog. Mungkin bagi para blogger sudah mengenal CSS. Karena blog khususnya yang hosting di blogspot memang menggunakan CSS untuk merubah dan mangatur tampilan pada blog itu sendiri. Tampilan disini maksudnya untuk mengatur tampilan blog yang kita miliki baik dari segi warna (huruf atau background), image, huruf dan elemen-elemen lain yang ada kaitannya dengan tampilan suatu blog atau web. Sebelum ada CSS, untuk mengatur tampilan suatu huruf biasanya menggunakan tag

bla bla bla

. Tapi setelah adanya CSS hal tersebut tidak perlu dilakukan lagi.Dengan kata lain CSS dapat lebih memudahkan kita dalam mengatur tampilan blog kita.

Cara pemasangan CSS ada tiga cara :
1.Internal Style Sheet : yaitu penulisan CSS dipasang pada tag head HTML
2.Eksternal Style Sheet : yaitu penulisan CSS dipasang terpisah dengan tag HTML
3.Inline Style Sheet : yaitu penulisan CSS dipasang di dalam Tag HTML (tanpa direkomendasikan).

CSS memiliki kekurangan, kekurangan dan kelebihan yaitu :

Kelebihan
1.Memisahkan desain dengan konten halaman web.
2.Mengatur desain seefisien mungkin.
3.Jika kita ingin mengubah suatu tema halaman web, cukup modifikasi pada css saja.
4.Menghadirkan sesuatu yang tidak dapat dilakukan oleh HTML.
5.Lebih mudah didownload karena lebih ringan ukuran filenya.
6.Satu CSS dapat digunakan banyak halaman web.

Kekurangan
1.Tampilan pada browser berbeda-beda.
2.Kadang juga terdapat browser yang tidak support CSS (browser lama).
3.Harus tahu cara menggunakannya.
4.dibutuhkan waktu lebih lama dalam membuatnya.
5.Belum lagi ada bug/error dalam CSS.


Dalam penulisan kode CSS mempunyai aturan tersendiri.
Cara pendeklarasian dan penulisan CSS
1.Menggunakan tanda # sebagai awalan.

Untuk pendeklarasiannya, karena memakai tanda # maka atribut yang digunakan adalah id.Tapi ingat, sifat dari id adalah unik. Makanya tidak boleh ada elemen lain yang memakai id yang sama pada suatu CSS.

2.Menggunakan tanda dot atau titik (.).
Untuk pendeklarasiannya, karena memakai tanda (.) maka atribut yang digunakan adalah class. Nah..kalo sifat dari id adalah unik, maka sebaliknya kalo class tidak unik dan bisa diaplikasikan lebih dari 1 class yang sama dalam suatu doc html.
3.Tanpa memakai tanda # atau (.) Nah jika memakai cara seperti ini, maka semua tag div akan mempunyai style yang sama sesuai kode CSSnya.

Minggu, 23 Agustus 2009

How to Make Chicklet

chicklet making instructions through software Gimp

first you have strived software Gimp if you already have skip this step, and for those of you who do not have this software, download in here --> http://downloads.sourceforge.net/gimp-win/gimp-2.6.6-i686-setup.exe.

gimp you open the program and ready to use menu click "File - New". in general chiklet size 80x15 pixels, but in this section we use the width: 78 and Heigh: 13, why is that? because we use a border at the top, bottom, right and left, each 1 pixel.

make the display image to be 400%, you can find this section at the bottom right.

use the Rectangle Select Tool button, the image selection about about 3 / 4 the right image.




gimp you open the program and ready to use menu click "File - New". in general chiklet size 80x15 pixels, but in this section we use the width: 78 and Heigh: 13, why is that? because we use a border at the top, bottom, right and left, each 1 pixel.

make the display image to be 400%, you can find this section at the bottom right.

use the Rectangle Select Tool button, the image selection about about 3 / 4 the right image.

next, use the Bucket Fill tool to color in the area who are, select a color that you like click the foreground on the toolbox, and select the color you like.

next, to give the blog title, use the text tool in the tool box, on the 3 / 4 of the color you give it before, and at the 1 / 4 of the white image, name initials,. example Chiklet I called "show me" and
initials SM.

next, at the border this is to give you, click the "Filter - Decor - Add Border" disinilah you enter 1 for each pixel x and y. do not forget to select the color you like.

save the last step click "File - Save As" and replace ektensi. xcf with. jpg or. png or. gif. and click ok to continue the save.

with this you have to make a Chiklet uploads on your blog.

Trade Link

Sabtu, 08 Agustus 2009

Women's futsal tournament has ended, but not the meaning of friendship, I with my friends that a good school and the school is also ended.
from playing futsal experience I have a very outside biasa.banyak lessons that I can petik.mulai of how we appreciate the time, friends, or even our opponents.
I can feel how important to build solidarity between kawan.yang I certainly very grateful to god and thank the father of the moon has given me opportunities that I will never forget in my memory.
Moreover, we can reach to the top four and can carry a good reputation SMAN 11 SURABAYA. All that is not a coincidence, but it is all worth the price we dapatkan.karena we have worked hard to practice and go to round-quarter final.mungkin failure of our to be able to enter the final success of our pending.
And at the end of the story ini.saya I would like to say many thanks for all the friends in SMAN 11 SURABAYA pray that you have 11 high school team.

;;