CSS-optimized table.

Power Java
Techniques for Optimizing Web Site Development and Runtime Characteristics

Christopher A. Fregly
Listing 11. CSS-optimized table.

<TABLE border = "5">
	<TD class="SpecialFlag">Special</TD>
	<TD class="LineNumber">Line 1</TD>
	<TD class="Description">Canned Peas(15928)</TD>
	<TD class="Brand">BrandX</TD>
	<TD class="CasePrice">3.97</TD>
	<TD class="EachPrice">1.97</TD>
<!- 236 chars repeated * 1,000 rows = 236,000 = approx. 65%
reduction in size ->

About the Author

Christopher A. Fregly is Senior Cunsultant for BEA Systems Inc. in Chicago. He can be contacted at chris@fregly.