Quote:
Originally Posted by adpboss
Please post some of your code for us. Inevitably Newbs will have questions.
|
Sure, I will post some code from my HOME.TPL - not a problemo. I wish I could do this to every table on my site, because the performance is really noticeable - but unfortunately, there are some columns that you just can't restrict the size of.
/SKIN1/CUSTOMER/HOME.TPL Change:
The italicized text is from the original file:
<table border=0 width="100%" cellpadding=0 cellspacing=0 align="center">
<tr>
<td width=6></td>
<td width=150 valign=top>
my changed file has:
<table border=0 cellpadding=0 cellspacing=0 align="center" style="table-layout:fixed;">
<col width="9">
<col width="160">
<col width="10">
<col>
<col width="10">
Notice that the next to the last column I don't have the width for - that is acceptable and you will benefit because the browser will use the remaining space.
I really hope this helps some folks out there!
--al