Jump to content

[SOLVED] a img behaviour different in explorer and firefox


thosecars82

Recommended Posts

Hello there

I am wondering if any of you knows why this two sentences

 

<?php

...

echo '<a onClick=uno(\''.$_COOKIE['language'].'\'); class = "enlacebritishflag" href=\''.$pagina.'\'>';

echo "<img src='estilos/images/spanishflag.gif' border = '0' alt='spanishflag'></a>";

...

?>

 

behave differently in firefox and explorer6. I would like that explorer 6 behaved the same way as firefox with reference to this issue.

I hope it is not forbidden to cite the name of a website in this forum since this is not for commercial purposes but for letting you understand my problem. If you take a glimpse at www.metatradersoftware.com with explorer 6 and firefox, you will be able no notice that the flag on the upper right corner shows an undesired white color on the right of the flag and below the flag only in internet explorer.

Does any of you know why this happens  in internet explorer? I have tried to change the width and height in the class enlacebritishflag but that does not seem to fix the problem.

Look for your suggestions. Thanks in advance.

What he was saying is that he doesn't think it's a PHP problem and that it should be in the HTML or CSS forum instead.

 

Maybe it's got something to do with the way you're writing the code. You aren't closing all your attributes properly. It's kind of an HTML problem, but maybe the PHP is doing weird things because of it. So check the actual code that is output by the browser for those 2 lines and paste it in here.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.