Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
February 6, 2004, 8:36 am
rate this thread
Exactly that can cut the markup of your page in half, if not more.
Images and CSS can be cached client-side, so the markup makes the
overhead here. Optimize that and see the results.
You can cut down on the length of classnames (their name describes their
looks, another no-no) and make it more flexible, by for instance using a
class on TR to influence the looks of entire rows of cells. Also, you
only have to specify the width for a cell once to have it influence an
entire column of cells. Right now, you have a width set for every
individual cell. Get rid of the <div aling="center">; that is where the
CSS text-align property is for (inline elements and text, as is in your
pages). Apply this to cells (with a certain class). Vertical alignment
in cells can be achieved by the vertical-align property on cells.
Try to reduce as much of the markup as possible. So to say, make it