a tag with img tag inside

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
thosecars82
Forum Commoner
Posts: 94
Joined: Thu Apr 03, 2008 6:31 am
Location: Arganda, Madrid
Contact:

a tag with img tag inside

Post 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.
User avatar
lafever
Forum Commoner
Posts: 99
Joined: Sat Apr 05, 2008 2:03 pm
Location: Taylor, MI

Re: a tag with img tag inside

Post by lafever »

If it's displaying different in browsers, it's more than likely not a PHP issue.
thosecars82
Forum Commoner
Posts: 94
Joined: Thu Apr 03, 2008 6:31 am
Location: Arganda, Madrid
Contact:

Re: a tag with img tag inside

Post 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.
Post Reply