Isinya Sidebar banyak bagaimana? Isinya Sidebar banyak bagaimana? Isinya Sidebar banyak bagaimana? Isinya Sidebar banyak bagaimana? Isinya Sidebar banyak bagaimana? Isinya Sidebar banyak bagaimana? Isinya Sidebar bagaimana? Isinya Sidebar banyak bagaimana? Isinya Sidebar banyak bagaimana? Isinya Sidebar banyak bagaimana? Isinya Sidebar banyak bagaimana? Isinya Sidebar banyak bagaimana? Isinya Sidebar banyak bagaimana? Isinya Sidebar banyak bagaimana? Isinya Sidebar banyak bagaimana? Isinya Sidebar banyak bagaimana?
Rumus bikin background postingan
Rumus bikin background postingan
Special Link
Satu teks di sidebar bisa 2 judul :
Judul pertama
Judul kedua
Judul ketiga
All about RSBI
Edit Blog
1) Ambil gambar di komputer 2) Ubah ukuran pixel-nya pakai MS.Paint, klik "atribut" 3) Ukurannya sesuai headernya yakni: 980 x 100 pixels
Kotak scrollbar adalah sebuah kotak yang bisa digulung kekanan atau kebawah sehingga bisa menghemat ruangan pada blog
Bentuk dan cara lain
Tentang Overflow "auto" yang diisi dengan sedikit tulisan
Overflow "auto" yang diisi dengan banyak tulisan. Overflow "auto" yang diisi dengan banyak tulisan.Overflow "auto" yang diisi dengan banyak tulisan. Overflow "auto" yang diisi dengan banyak tulisan. Overflow "auto" yang diisi dengan banyak tulisan. Overflow "auto" yang diisi dengan banyak tulisan. Overflow "auto" yang diisi dengan banyak tulisan. Overflow "auto" yang diisi dengan banyak tulisan.
Overflow "scroll)" diisi sedikit tulisan
Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan.
Overflow "hide" diisi sedikit tulisan
Overflow "hide" diisi banyak tulisan. Overflow "hide" diisi banyak tulisan. Overflow "hide" diisi banyak tulisan. Overflow "hide" diisi banyak tulisan. Overflow "hide" diisi banyak tulisan. Overflow "hide" diisi banyak tulisan.
Untuk membuat teks berhenti jika mouse menyentuh area marquee dan berjalan kembali jika mouse meninggalkan area marquee. Tambahkan kode onmouseover="this.stop()" dan onmouseout="this.start()"
Untuk mulai bikin tabel, anda harus menempatkan <tr>(table row) dan <td>(table data) diantara kode <table> dan kode </table> berikut.
Dan hasilnya, tabel akan menjadi seperti ini:
Inilah tabel saya!
Kok cuma gitu? Mana border/bingkainya? Don't worry be happy (kayak judul lagu saja). Tambahkan saja <table> tag, seperti ini:
Dan sekarang tabel akan punya border seperti ini :
Ini baru benar-benar tabel!
Anda dapat mempertebal border dengan merubah <table border="2">menjadi lebih besar. Jika anda mengeset border="0", you will have a table with no border around it.
Of course, you probably want the table to have more than one cell in it. To add another cell on the same line, just use the <td> tags again, like this:
Dan hasilnya seperti ini :
Ini sebuah cell
Ini juga sebuah cell
Well, what if you want to go to the next line, or in table terms, the next row? To do this, you use a new set of table row tags, <tr> and </tr>:
Now there are two rows, each with two cells:
This is a cell
This is a cell
This is the new row
I'm on the new row, too!
There are a couple of commands you can add to the <table> tag to get more spacing between cells. Here they are:
1. cellspacing=" " Use this command to add more space around each cell. Place a number inside the quote marks. 2. cellpadding=" " Use this command to add more space inside each cell. Place a number inside the quote marks.
I'll show you an example of both of these now. Let's say we added the cellspacing command to our last table, and set it to equal 12, like this:
<table border="2" cellspacing="12">
Now the table would look like this:
This is a cell
This is a cell
This is the new row
I'm on the new row, too!
Now, suppose we used the cellpadding command, and set it to 12, like this:
To place an image inside a cell, you do the same thing with the image tag:
<td><img src="scare.jpg"/></td>
Sample image inside a table cell
This is a cell
;
This is the new row
I'm on the new row, too!
If you want table headings for listing data, you could use the <th></th> tags on the first row of the table rather than <td></td> tags:
Hasilnya seperti ini :
Name
Favorite Color
John
Blue
James
Green
You may have noticed that most everything is aligned to the left side of each cell. This is the default setting. In the next section we will cover how to change the alignment of your cell contents, make cells stretch across more than one column or row, define a table width, and change cell background colors.
So, let's move on to Tables 2: Alignment, Color, and More.
Tables 2: Alignment, Color, and More How to do more with tables Note: Many of these effects can now be achieved using Cascading Style Sheets.
Before we get to the other stuff, let's take a look at how to define the width of your table to help you get the table the size you would like it to be. To do this, add the width=" " command to your <table> tag. Place the number of pixels wide you would like the table to be or the percentage of the horizontal width you'd like the table to be between the quote marks (i.e. type 600 for 600 pixels and 60% for 60 percent). So, if you wanted a table 600 pixels long, you would do this:
This table has just a little text, but stretches all the way to 600 pixels, because we told it to!
This table really long!
In the last section we left off wondering how to align the contents of your table cells. What if you wanted your contents to be aligned to the center or to the right? To do this, you add the align=" " command to your <td> tag. You can use the command three ways:
1. align="left" Aligns your cell contents to the left. 2. align="center" Aligns your contents to the center. 3. align="right" Aligns your cell contents to the right.
Let's take a look at a table using these commands:
The first cell will have the text in the center, while the second cell has text aligned to the right.
I'm in the center!
I'm aligned to the right!
You can also use another alignment command for your cells, the vertical alignment command. It looks like this: valign=" ". Here's what it can do:
1. valign="top" Aligns contents to the top of the cell. 2. valign="middle" Aligns contents halfway between the top and bottom of the cell. 3. valign="bottom" Aligns contents to the bottom of the cell.
Here is a sample table using the vertical alignment commands:
The table looks like this:
I'm on top!So I start on top!
I'm in the middle
I start at the bottom.
The vertical alignment commands come in useful if your table cells don't have the same number of lines inside each cell. Since I had 2 lines of text in the first cell while the others had one line, the vertical alignment made a difference in how the table looked.
So, how about stretching out the rows and columns? Well, now you get two more commands for the
tag, rowspan and colspan.
1. rowspan=" " Defines the number of vertical table rows the cell should take up. Place your number inside the quote marks. 2. colspan=" " Defines the number of horizontal columns the cell should take up.
Suppose you wanted your table to do this: Nice guy, isn't he? sample image Met him at the store.
To make it happen, you use the rowspan command in your table cell containing the image. You set rowpan="2" and the cell with the picture takes up 2 table rows. Here is the code:
Dan hasilnya :
Nice guy, isn't he?
Met him at the store.
Now, suppose you want a table like this:
Star Wars Folks Luke Skywalker Princess Leia Han Solo
This time you use the colspan command and set colspan="3". You get the first cell to stretch across the other three on the second row below it. Here is the table code for this:
Dan hasilnya :
Star Wars Folks
Luke Skywalker
Princess Leia
Han Solo
Well, now here's the part everyone has been waiting for... changing the background color of a table cell! You can change the background color of the entire table, each row, or each cell. To change the background color of the table, add the bgcolor=" " command, just like in the body tag:
Now the whole table has a yellow background:
Yellow Rules!
To change the color of each cell, add the bgcolor command to each <td> tag you want to change:
Now we have two different colored cells:
red
blue
And finally, to change the color of a table row, add the bgcolor command to the <tr> tag:
And now the rows are different colors:
red
red again..
blue
blue again!
BONUS TABEL CANTIK :
SYMBOL
ENTITY
EXAMPLE
Less than
01
100
Greater than
02
200
Ampersand
03
300
quotation mark
04
400
em dash
05
500
Pretty neat stuff, isn't it? You can design calendars, price lists, or whatever comes to mind using tables.
So, let's move on to the next section, Tables Within a Table.
Placing tables inside a larger table Note: Many of these effects can now be achieved using Cascading Style Sheets.
Well, suppose you had this problem: You need to put two tables on the same line on your page. Oh no, the table tag automatically sends you to the next line! Well, you can get around this by placing your two tables inside one large table, thus keeping them on the same line.
Let's start out by just placing one table inside another. Here is the code:
<table width="75%" border="6"> <!-- starts the big table --> <td align="center"> <!-- starts the first cell of the big table --> <table width="75%" border="2"> <!-- we use another table as the cell data for the big table --> <td align="center"> <!-- starts the small table inside --> I'm inside the small table! <!-- the contents of the first cell of the small inside table --> </td> <!-- ends the table cell of the small inside table --> </table> <!-- ends the small inside table --> </td> <!-- ends the cell of the big table which contained the small table --> </table> <!-- ends the big table -->
Here is what you get from the code above:
I'm inside the small table!
This can get a bit confusing at times. Just remember to keep track of which table you are in while you are writing the code.
As for the problem at the beginning of the section, all we have to do is add another table cell to the big table, and then use a second smaller table inside that cell. To hide the appearance of the big table, we set the border on the big table to zero. Here is the example:
<table width="75%" border="0"> <td align="center"> <table width="99%" border="4"> <td align="center"> I'm in the first small table! ha! </td> </table> </td> <td align="center"> <table width="99%" border="4"> <td align="center"> I'm in the second small table! ha, ha! </td> </table> </td> </table>
And now we see the two inside tables on the page side by side:
I'm in the first small table!
I'm in the second small table
Of course, you can make the inside tables or the outside tables as complicated as you want. Add all the cells and rows you can handle... you can go table crazy if you want to.
Well, that does it for this section, let's go on to the next section where you will learn the technique of Using Frames.