How to make a Table (hopefully easily)

Post Mode - Advanced Editor
Toolbar Selection - Full Featured

The Table Button is in the second row, 5 from the end, looking sort of like a calendar.  Default width is 200 pixels:

   
   
   

 

Now I'll switch to HTML view, where I'll see the following:

<table height="76" width="200" cellspacing="1" cellpadding="1" border="1">
    <tbody>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
    </tbody>
</table>

I'll make the changes in red:

<table width="0" cellspacing="1" cellpadding="1" border="1">
    <tbody>
        <tr>
            <td width="100">Width = 100 makes the cell 100 pixels wide</td>
            <td width="200">you can use a % if you prefer</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
    </tbody>
</table>
 

And get the following: 

Width = 100 makes the cell 100 pixels wide this cell is 200 pixels
   
   

Note - I made the width of the table zero because that makes it no bigger than needed; another approach is to make the width of the table 100% and also use percentages for the cells - so if the second one should be twice as big, they'd be 33% and 66% - or whatever.  You can also add align="center" to the table definition as I did below to have your table centered on the page.  If you right-click on the table (in Editor View) you can get Table Properties, which lets you change the spacing (room between the cells - I've made it 10 - which is 10 pixels) and padding (margins around the text or pictures inside the cell - 5 below)

Width = 100 makes the cell 100 pixels wide this cell is 200 pixels
   
   

 

 Hope all this helps!

Last Updated Sunday, May 18 2014 @ 09:27 PM EDT| View Printable Version

?

Please Donate

Please Donate!

Current & Ongoing Promotions

 

 

 

 

My Account





Sign up as a New User
Lost your password?