Quote:
Originally Posted by MBA
Why are you putting images inside of a table? table = tabular... you only use table tags for data... never images. You can recover some cart speed by using this trick.
instead of table tags use div tags and limit your image by adding style comment to your image i.e. style="float:left"
example:
<div style="whatever-you-want;">
<img src"./images/D/xxxxxxxx.jpg" style="width:70px; height:70px; float:left; what-ever-else-you-want;" />
</div>
Just use similar code to this around the smarty tags and you'll start to sort out how to control your images a lot better.
|
Hi thanks for the reply. I am a novice so appreciate the info.
But what I am running into is that I want each image to appear in a horizontal row then wrapping to the next row after "x" number of images in a row.
By putting the div tag within the loop tag, wouldn't that cause each image to appear in a new row/under the previous image? Is there a way to accomplish what I am trying to do without using the table tag?
Thanks for your help!