Let's go back to plain old `Ed`.

    <TABLE BORDER=3 WIDTH=100 HEIGHT=75>
    <TR>
    <TD ALIGN="left" VALIGN="middle">Ed</TD>
    </TR>
    </TABLE>

Ed

And for the sake of clarity and simplicity let's remove the alignment attributes. We know what will happen because we know what the default values are. By the way, a `TAG` tells the browser to do something. An `ATTRIBUTE` goes inside the `TAG` and tells the browser how to do it.

    <TABLE BORDER=3 WIDTH=100 HEIGHT=75>
    <TR>
    <TD>Ed</TD>
    </TR>
    </TABLE>

Ed

Now we will make our table a fuzz bigger.

    <TABLE BORDER=3 WIDTH=300 HEIGHT=75>
    <TR>
    <TD>Ed</TD>
    </TR>
    </TABLE>

Ed

You should know that fuzz is a technical term. Its full definition is so broad and complicated that it would only be suitable for advanced html students.

Ed's friend Tom is back and this time he wants his own cell.

    <TABLE BORDER=3 WIDTH=300 HEIGHT=75>
    <TR>
    <TD>Ed</TD>
    <TD>Tom</TD>
    </TR>
    </TABLE>

Ed | Tom

When no instructions are given to the browser, each cell may (but not always) be different in size. It's often a fine idea to specify how big each cell is. Make sure your arithmetic is correct or what people see may be drastically different than what you want them to see!

    <TABLE BORDER=3 WIDTH=300 HEIGHT=75>
    <TR>
    <TD WIDTH=150>Ed</TD>
    <TD WIDTH=150>Tom</TD>
    </TR>
    </TABLE>

Ed | Tom

These `WIDTH` attributes can also be expressed as a percentage.

    <TABLE BORDER=3 WIDTH=300 HEIGHT=75>
    <TR>
    <TD WIDTH=50%>Ed</TD>
    <TD WIDTH=50%>Tom</TD>
    </TR>
    </TABLE>

Ed | Tom

FAQ: I've laid out my table with my dimensions but the table doesn't show up right. Or it's fine in Browser A but looks different in Browser B. A: Getting too specific with table cell dimensions is a tricky business. Often the browser doesn't render a table exactly how we've specified. The best way I've found to overcome this is to design tables that are more like rubberbands than a rigid framework. That is they flexibly hold everything together rather than rigidly box everything together. Design your table in such a way so that minor differences in the way a browser renders it won't destroy what you're trying to do.

<< BACK NEXT >>