Problem with the position of the thumbnails

Phoca Gallery - image gallery extension
joaoferraz
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 06 Dec 2010, 18:31

Problem with the position of the thumbnails

Post by joaoferraz »

Hi,
I have a problem with the position of the thumbnails, they are misaligned with the boxes.
The error can be seen here: http://enseadagrill.com.br/novosite/ind ... itstart=20
Anyone know how to solve this problem?
Thanks and sorry my english, I from Brazil.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with the position of the thumbnails

Post by Jan »

If you find Phoca extensions useful, please support the project
joaoferraz
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 06 Dec 2010, 18:31

Re: Problem with the position of the thumbnails

Post by joaoferraz »

Hi Jan, thanks for your reply.
I tested my site with standard template, but the problem still continue

http://enseadagrill.com.br/novosite/ind ... Itemid=769

What can be happening?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with the position of the thumbnails

Post by Jan »

Hi, I see, but this seems like clear:both or css rules for float boxes are somehow not loaded or not accepted :idea: :(

seems like something is still wrong on the page as not all standard css files of joomla! are loaded on the site :idea:
If you find Phoca extensions useful, please support the project
Frost
Phoca Member
Phoca Member
Posts: 28
Joined: 02 Apr 2009, 07:58

Re: Problem with the position of the thumbnails

Post by Frost »

I'm having the exact same problem on my development site as well I've tested this on a plain install of the standard Joomla template with the same result. It appears there is no style being applied to the thumbnail image and that's why they do not line up with the box.

The style is being applied properly to the box, but the image is only sitting within the table cell. I'm not sure that's enough to apply the same inline style to the <a href> element. Normally I would think so, but with all that's going on in a joomla template and the css that's globally applied to tables I would think this would be overwritten unless a specific inline style or css is applied to those thumbnail images.

Code: Select all

<td valign="middle" align="center" style="background: url("/mysite/components/com_phocagallery/assets/images/shadow3.gif") no-repeat scroll 50% 50% transparent; height: 68px; width: 68px; text-align: center;">

<a href="/buildadream/index.php?option=com_phocagallery&view=category&id=1:pool&Itemid=64"><img style="border: 0pt none;" alt="Pool" src="/mysite/images/phocagallery/Pool/thumbs/phoca_thumb_s_img_med.jpg">
</a>
</td>
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with the position of the thumbnails

Post by Jan »

Hi, in categories view, images can be stored in tables (it is set as default). Float boxes are used in category view.

Jan
If you find Phoca extensions useful, please support the project
Post Reply