thosecars82 Posted May 15, 2008 Share Posted May 15, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/105828-solved-a-img-behaviour-different-in-explorer-and-firefox/ Share on other sites More sharing options...
RichardRotterdam Posted May 15, 2008 Share Posted May 15, 2008 just check out your browsers source and see whats in it its more html related then php Quote Link to comment https://forums.phpfreaks.com/topic/105828-solved-a-img-behaviour-different-in-explorer-and-firefox/#findComment-542384 Share on other sites More sharing options...
thosecars82 Posted May 15, 2008 Author Share Posted May 15, 2008 just check out your browsers source and see whats in it its more html related then php Thanks anyways, but for the time being, that hint does not raise any possible idea to my mind yet. Quote Link to comment https://forums.phpfreaks.com/topic/105828-solved-a-img-behaviour-different-in-explorer-and-firefox/#findComment-542401 Share on other sites More sharing options...
soycharliente Posted May 15, 2008 Share Posted May 15, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/105828-solved-a-img-behaviour-different-in-explorer-and-firefox/#findComment-542409 Share on other sites More sharing options...
thosecars82 Posted May 15, 2008 Author Share Posted May 15, 2008 Thanks both of you. Eventually, it was explanatory. Quote Link to comment https://forums.phpfreaks.com/topic/105828-solved-a-img-behaviour-different-in-explorer-and-firefox/#findComment-542413 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.