PDA

View Full Version : Different Size Thembnails


whitewolfspirits
08-31-06, 08:12 PM
They will start charging me rent if I stay here much longer. LOL. Here is my second question...

We have prints that are of varying sizes. I created the thumbnails and used the HTML to put a border around them. The cell that contains that section is aligned to the top so that the prints will form a smooth line and look nice. Now...the lower sections are uneven due to the different size thumbnails and different lengths of the print titles (see images)
http://whitewolfspirits.com/forforum/1.jpg

and

http://whitewolfspirits.com/forforum/2.jpg


I can't get a multi cell table to work. It asks for more <foreach>, but when I do that, it shows each thing seperately. I get rows of thumbnails, then rows of titles...etc. I don't know what I am doing wrong. :confused:

White Wolf :cool:

PCINET - Andreas
08-31-06, 08:30 PM
Uhmm, what module are you using for the design?

Brandon MUS
08-31-06, 10:41 PM
My vote is for CSS :D You don't have to worry about using table rows (<tr>).

Here's a great demo: http://www.pmob.co.uk/temp/centremultipledivs2.htm

dreamingdigital
09-01-06, 06:03 PM
If you're wanting the thumbnails to be aligned to the top and the names to be aligned to the bottom why not go something like this. It may not work all the time but it may be your best normal HMTL option.

<table height="100%" border="0">
<tr>
<td valign="top">{insert thumbnail code here}></td>
</tr>
<tr>
<td valign="bottom">{insert name and price code here}</td>
</tr>
</table>

whitewolfspirits
09-05-06, 08:31 AM
Thanks. I just ended up making the thumbnails in a category the same size. The tables won't work with the add to cart button being in a seperate cell. Think I have it though. Just had to add to make them equal.
Thanks again
White Wolf