Use of CSS

0 komentar

Prior to CSS, nearly all of the presentational attributes of HTML documents were contained within the HTML markup; all font colors, background styles, element alignments, borders and sizes had to be explicitly described, often repeatedly, within the HTML. CSS allows authors to move much of that information to a separate stylesheet resulting in considerably simpler HTML markup.

Headings (h1 elements), sub-headings (h2), sub-sub-headings (h3) etc. are defined structurally using HTML. In print and on the screen, choice of font, size, color and emphasis for these elements is presentational.

Prior to CSS, document authors who wanted to assign such typographic characteristics to, say, all h2 headings had to use the HTML font and other presentational elements for each occurrence of that heading type. The additional presentational markup in the HTML made documents more complex, and generally more difficult to maintain. To render all h2 tags in this manner, the markup had to be repeated for each heading. In CSS, presentation is separated from structure. In print, CSS can define color, font, text alignment, size, borders, spacing, layout and many other typographic characteristics. It can do so independently for on-screen and printed views. CSS also defines non-visual styles such as the speed and emphasis with which text is read out by aural text readers. The W3C now considers the advantages of CSS for defining all aspects of the presentation of HTML pages to be superior to other methods. It has therefore deprecated the use of all the original presentational HTML markup.

Lihat tutorial lainnya di Azzahrah Design

Read More......

About CSS

0 komentar

In web development, Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can be applied to any kind of XML document, including SVG and XUL.

CSS is used by both the authors and readers of web pages to define colors, fonts, layout, and other aspects of document presentation. It is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation (written in CSS). This separation can improve content accessibility, provide more flexibility and control in the specification of presentational characteristics, and reduce complexity and repetition in the structural content. CSS can also allow the same markup page to be presented in different styles for different rendering methods, such as on-screen, in print, by voice (when read out by a speech-based browser or screen reader) and on Braille-based, tactile devices. CSS specifies a priority scheme to determine which style rules apply if more than one rule matches against a particular element. In this so-called cascade, priorities or weights are calculated and assigned to rules, so that the results are predictable.

The CSS specifications are maintained by the World Wide Web Consortium (W3C). Internet media type (MIME type) text/css is registered for use with CSS by RFC 2318 (March 1998).

Lihat tutorial lainnya di Azzahrah Design

Read More......

Tutorial : 3 Kolom

5 komentar

Salah satu cara membuat 3 kolom adalah menggunakan tabel dengan 3 kolom. Adapun coding dasarnya adalah:

<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td>Kolom kiri atas</td>
<td>Kolom tengah atas</td>
<td>Kolom kanan atas</td>
</tr>
<tr>
<td>Kolom kiri bawah</td>
<td>Kolom tengah bawah</td>
<td>Kolom kanan bawah</td>
</tr>
</table>

Mari kita telaah baris perbaris.

<table width="100%" border="0" cellspacing="0"
cellpadding="0">

width="100%"
Gunakan ukuran 100% bila ingin membuat tabel memenuhi 1 layar. Atau masukkan angka 770px untuk ukuran kecil.

border="0"
Ukuran border. Jika tidak ingin border terlihat, maka tulislah angka 0. Jika ingin menggunakan border, isilah dengan angka. Lalu, tetapkan warna boder, misalnya bordercolor="#000000" (hitam).

cellspacing="0" cellpadding="0"
Jarak antara kolom, baris, dan tulisan. Jika tidak ingin ada jarak, tetaplah gunakan angka 0 dan isi dengan angka lain bila menginginkan jarak. Idealnya adalah gunakan angka 2 untuk cellpadding.

<td>Kolom kiri atas</td>

Merupakan kolom di bagian kiri barisan atas. Tetapkan ukurannya dengan memasukkan tag width. Boleh menggunakan satuan % (25%) atau menggunakan satuan px (150px). Jika ingin menggunakan background, tambahkan tag background untuk file gambar dan bgcolor untuk warna saja.

<td>Kolom tengah atas</td>

Merupakan kolom bagian tengah barisan atas. Tetapkan ukurannya dengan memasukkan tag width. Boleh menggunakan satuan % (50%) atau menggunakan satuan px (470px). Sama seperti kolom kiri, dapat menggunakan variasi background.

<td>Kolom kanan atas</td>

Merupakan kolom di bagian kanan barisan atas. Tetapkan ukurannya dengan memasukkan tag width. Boleh menggunakan satuan % (25%) atau menggunakan satuan px (150px). Sama seperti kolom kiri, dapat menggunakan variasi background.

Perhatikan bahwa komulatif semua width (kiri, tengah, dan atas) harus sama dengan ukuran table.

Selanjutnya adalah baris berikutnya dengan coding:

<tr>
<td>Kolom kiri bawah</td>
<td>Kolom tengah bawah</td>
<td>Kolom kanan bawah</td>
</tr>

Bila ingin menambahkan baris, gunakanlah coding seperti di atas.

Hasil coding tabel 3 kolom (dan 2 baris) kita menjadi:

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25%">Kolom kiri atas</td>
<td width="50%">Kolom tengah atas</td>
<td width="25%">Kolom kanan atas</td>
</tr>
<tr>
<td>Kolom kiri bawah</td>
<td>Kolom tengah bawah</td>
<td>Kolom kanan bawah</td>
</tr>
</table>

Atau lihat contoh ini:

Perilaku Seindah Az-Zahrah
- coretan harian seorang muslimah -
Link 1
Link 2





Dengan coding :

<table width="400px" border="1" cellpadding="3" cellspacing="0" bordercolor="#E2BBD7">
<tr bgcolor="#E2BBD7">
<td height="70px" colspan="3"><div align="center"><font
color="#813D6E"><strong>Perilaku Seindah Az-Zahrah<br>-
coretan harian seorang muslimah -</strong></font></div></td>
</tr>
<tr>
<td width="25%" valign="top" bgcolor="#EFCAE4">
<a href="#">Link 1</a><br>
<a href="#">Link 2</a> <br>
</td>
<td width="50%" valign="top" bgcolor="#FDF3FA">
<p> </p></td>
<td width="25%" valign="top" bgcolor="#EFCAE4"> </td>
</tr>
</table>

selamat mencoba....

Lihat tutorial lainnya di Azzahrah Design

Read More......

Blue Sky - Classic Skin

5 komentar

klik pada gambar untuk memperbesar Download : blue-sky.txt

Size : 8 kb

Read More......

Referensi Tutorial Photoshop

5 komentar

Salah satu cara agar bisa membuat web / blog adalah memiliki kemampuan untuk mengolah gambar. Salah satu software untuk mengolah gambar adalah adobe photoshop. Semakin sering menggunakannya dan berlatih maka semakin tinggi kemampuan mengolah data.

Kali ini, aku memberikan beberapa referensi url yang berisi tutorial menggunakannya. Semoga refernsi kecil ini bermanfaat. So, enjoy your image. *apa coba? ^_^

  1. Mengenal Toolbar (dasar) dan lanjutan
  2. Tentang Layer
  3. Membuat Objek Sederhana
  4. Tentang pen tool
  5. Membuat kotak melengkung, lingkaran, dll
  6. Button dengan effect bevel
  7. Tentang teks
  8. Membuat teks dengan outline
  9. 3-D teks
  10. 3-D fungky teks
  11. Tentang Blending Options
  12. Tentang brush
  13. Menu box
  14. Membuat gambar backgorund
  15. Slicing / Memotong gambar menjadi beberapa gambar
  16. Cara memotong gambar
  17. Contoh menggambar


Lihat tutorial lainnya di Azzahrah Design

Read More......
-- -- --

Copyright © 2008 - Free Islamic Blogger Templates - powered by Blogger