FireFox and IE6 Discrepancies FireFox and IE6 Discrepancies
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

FireFox and IE6 Discrepancies

Started by smartwebs, June 12, 2006, 06:32:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

smartwebs

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

M

Nibbler

Please post a link. Also update your gallery.

smartwebs

M

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board

smartwebs

Thanks for that, but is this is in the style.css, theme.php or where?
M

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board

smartwebs

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
M

Nibbler

You'd probably get more help if you don't obscure the Powered by Coppermine footer. Just a thought.

Sami

#8
- First as Nibbler said:Don't hide "powered by coppermine"
- are you sure that you add that align="left" ?
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

No support at all for people who hide the footer. Please ignore "smarter" unless he puts the footer back as it needs to be.

smartwebs

#10
My appologies, I did'nt realise it had gone

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

Thanks
M

Nibbler

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">

smartwebs

Thank you, that works just fine and dandy
M