coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: smartwebs on June 12, 2006, 06:32:00 PM

Title: FireFox and IE6 Discrepancies
Post by: smartwebs on June 12, 2006, 06:32:00 PM
Hi there,

In firefox (my preferred browser) the screen is aligned to the left as it should be, but in IE6 (85% of customers use this) the text is always centered ???

Does anyone know why this occours, I have been through every line of the style.css, copied line by line our previous style.css to the Sample css
and been through every line of the theme.php but without success.

I have tested in all browsers and the only one in which this occours is IE6

If anyone knows how I can fix this I sould be most grateful

Title: Re: FireFox and IE6 Discrepancies
Post by: Nibbler on June 12, 2006, 06:32:54 PM
Please post a link. Also update your gallery.
Title: Re: FireFox and IE6 Discrepancies
Post by: smartwebs on June 12, 2006, 06:39:22 PM
the Link is http://hanwells.net/showroom/

I will upgrade as soon as I can

Thanks
Title: Re: FireFox and IE6 Discrepancies
Post by: Sami on June 12, 2006, 07:08:17 PM
Your Table align value is "center" and since you didn't set any align value for td it will show it's content as "center"
you should change align value of table to "left" or set align value "left" for td
Title: Re: FireFox and IE6 Discrepancies
Post by: smartwebs on June 12, 2006, 07:33:09 PM
Thanks for that, but is this is in the style.css, theme.php or where?
Title: Re: FireFox and IE6 Discrepancies
Post by: Sami on June 12, 2006, 07:43:11 PM
it should be on theme.php you shoud find this:

// HTML template for the category list
$template_cat_list = <<<EOT
<!-- BEGIN header -->
        <tr>
                <td class="tableh1" width="80%" align="left"><b>{CATEGORY}</b></td>
                <td class="tableh1" width="10%" align="center"><b>{ALBUMS}</b></td>
                <td class="tableh1" width="10%" align="center"><b>{PICTURES}</b></td>
        </tr>
<!-- END header -->
<!-- BEGIN catrow_noalb -->
        <tr>
                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
        </tr>
<!-- END catrow_noalb -->
<!-- BEGIN catrow -->
        <tr>
                <td class="catrow" align="left"><table border="0"><tr><td>{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
                <td class="catrow" align="center">{ALB_COUNT}</td>
                <td class="catrow" align="center">{PIC_COUNT}</td>
        </tr>
        <tr>
            <td class="tableb" colspan="3">{CAT_ALBUMS}</td>
        </tr>
<!-- END catrow -->
<!-- BEGIN footer -->
        <tr>
                <td colspan="3" class="tableh1" align="center"><span class="statlink"><b>{STATISTICS}</b></span></td>
        </tr>
<!-- END footer -->
<!-- BEGIN spacer -->
        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
<!-- END spacer -->

EOT;

on theme.php , after <!-- BEGIN catrow_noalb --> you should add align="left" to first td
if you didn't have $template_cat_list on your theme.php copy paste it from sample theme
hope this work
Title: Re: FireFox and IE6 Discrepancies
Post by: smartwebs on June 12, 2006, 10:39:08 PM
Thanks for that, I did'nt have   $template_cat_list  on my theme.php
but copied and pasted from the sample as suggested.

Unfortunately it does not seem to have worked and everything is exactly the same  ..... Only in IE6 though.

Strange ........... Back to the drawing board, I guess

If there are any other suggestions I'd be pleased to hear them.

Thanks again
Title: Re: FireFox and IE6 Discrepancies
Post by: Nibbler on June 12, 2006, 10:43:09 PM
You'd probably get more help if you don't obscure the Powered by Coppermine footer. Just a thought.
Title: Re: FireFox and IE6 Discrepancies
Post by: Sami on June 12, 2006, 10:52:22 PM
- First as Nibbler said:Don't hide "powered by coppermine"
- are you sure that you add that align="left" ?
Title: Re: FireFox and IE6 Discrepancies
Post by: Joachim Müller on June 12, 2006, 10:54:39 PM
No support at all for people who hide the footer. Please ignore "smarter" unless he puts the footer back as it needs to be.
Title: Re: FireFox and IE6 Discrepancies
Post by: smartwebs on June 13, 2006, 12:50:03 AM
My appologies, I did'nt realise it had gone

I have rectified
and yes I'm positive that  align="left" is there

Thanks
Title: Re: FireFox and IE6 Discrepancies
Post by: Nibbler on June 13, 2006, 01:12:31 AM
You didn't add the code. If you add the code in as suggested then it works, I just tried it.

<td class="catrow_noalb" colspan="3" align="left">
Title: Re: FireFox and IE6 Discrepancies
Post by: smartwebs on June 13, 2006, 03:28:28 AM
Thank you, that works just fine and dandy