Welcome to Doors2Stores "Bringing understanding and awareness of eBay Stores"

eBay Store owners dedicated to sharing knowledge
and resources for a better shopping community
Understanding Tables - Table Attributes III
How about we add one more cell (column) and vary the widths of the cells?  I will use various examples below, giving you the html code in blue and the results below each example.

Table - centered, width 80%, border 3, cellspacing 5 cellpadding 10 and varied size cell widths

<table align="center" width="80%" border="3" cellspacing="5" cellpadding="10">
    <tr>
        <td width="30%">
Row 1, Cell 1</td>
        <td width="50%">
Row 1, Cell 2</td>
        <td width="20%">
Row 1, Cell 3</td>
    </tr>
    <tr>
        <td width="30%">
Row 2, Cell 1</td>
        <td width="50%">
Row 2, Cell 2</td>
        <td width="20%">
Row 2, Cell 3</td>
    </tr>
</table>


RESULTS

Row 1, Cell 1 Row 1, Cell 2 Row 1, Cell 3
Row 2, Cell 1 Row 2, Cell 2 Row 2, Cell 3

Table - centered, width 70%, border 1, table background color gray, cellspacing 0 and cellpadding 10, top cells aligned center, bottom center cell aligned right and varied cell widths

<table align="center" width="70%" bgcolor="#CCCCCC" border="1" cellspacing="0" cellpadding="10">
    <tr>
        <td width="30%" align="center">
Row 1, Cell 1</td>
        <td width="40%" align="center">
Row 1, Cell 2</td>
        <td width="30%" align="center">
Row 1, Cell 3</td>
    </tr>
    <tr>
        <td width="30%">
Row 2, Cell 1</td>
        <td width="40%" align="right">
Row 2, Cell 2</td>
        <td width="30%">
Row 2, Cell 3</td>
    </tr>
</table>


RESULTS

Row 1, Cell 1 Row 1, Cell 2 Row 1, Cell 3
Row 2, Cell 1 Row 2, Cell 2 Row 2, Cell 3

 
Return