I have a problem choosing the table cells.
I defined my table cells to have the following measurements:
cell 1: 220px
cell 2: 315px
cell 3: 265px
cell 4: 200px
Adds to 1000px
The measurements that I get when opening the table in a browser:
cell 1: 190px
cell 2: 264px
cell 3: 222px
cell 4: 168px
Adds to 844px
Note that I dont set the width of the table. I also have no other elements on the page apart from that table. Why does that happen?
Try this:
colis legal element used to layout the table cells.In the above examples Firebug will show the cells’ width with the desired size in pixels minus 1px for borders (which will collapse). The entire table will be exactly 1000px wide.