Page 1 of 1

a tag with img tag inside

Posted: Thu May 15, 2008 4:04 pm
by thosecars82
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'>[/url]";
...
?>

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 http://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.

Re: a tag with img tag inside

Posted: Fri May 16, 2008 1:28 am
by lafever
If it's displaying different in browsers, it's more than likely not a PHP issue.

Re: a tag with img tag inside

Posted: Fri May 16, 2008 4:43 am
by thosecars82
lafever wrote:If it's displaying different in browsers, it's more than likely not a PHP issue.
You are right. It was an html problem. Thanks.