Tables

Instructions

    1. Go to the page you want a table on and use the Edit Page button.

    2. Use the Table menu and then the Insert Table sub-menu and then choose the size of the table you want.

    3. Fill the table with the content you want so it will be easier for you to spot in the HTML editor.

    4. Use the HTML button to open the HTML editor and look for the code:

      1. <table style="border-color: rgb(136, 136, 136); border-width: 1px; border-collapse: collapse;" border="1" bordercolor="#888888" cellspacing="0">

    5. If you just want to remove the border delete

      1. style="border-color: rgb(136, 136, 136); border-width: 1px; border-collapse: collapse;" border="1" bordercolor="#888888"

    1. from the code found in step 4, so it looks like

      1. <table cellspacing="0">

    1. If you want to center the table then add

      1. style="margin: 0pt auto;"

    1. so it looks like

      1. <table style="margin: 0pt auto;" cellspacing="0">

    1. If you want to make the table and column widths proportional add

      1. width: 90%;

    1. to the style attribute in the table tag, so it looks like

      1. <table style="margin: 0pt auto; width: 90%;" cellspacing="0">

    1. and for the columns change the

      1. width: 60px;

    1. to

      1. width: 50%;

    1. on all of the table cell tags (<td></td>) - obviously use the percentages you want.

    2. If you wan to merge two table cells in a row then add

      1. colspan="2"

    1. to the first table cell and opening tag (<td>) and remove the closing tag and next table cell opening tag, so it looks like

      1. <td colspan="2">cell 1 and cell 2</td>

    1. If you wan to merge two table cells in a column then add

      1. rowspan="2"

    1. to the table cell in the first row and remove the table cell in the second row.

    2. If you want to add a background color (or background color/fill/shading if you prefer) then add

      1. background-color: rgb(255, 204, 204);

    1. to the style attribute in the table cell tags, so it looks like

      1. <td style="width: 50%;background-color: rgb(255, b204, 204);">

    1. pick color codes you want, obviously: you can use hex codes if you like; Google Sites will automatically change them into RGB values. you can add this to rows or tables if you prefer.

    2. If you want to remove some of the borders add

      1. border-bottom: 0px solid rgb(136, 136, 136);

    1. to the style attribute in the table cell tags, so it looks like

      1. <td style="border: 0px solid rgb(136, 136, 136); width: 50%;">