mikejonessmith Posted July 7, 2008 Share Posted July 7, 2008 I have some issues with code. This header works in FIREFOX however if I view the page in IE7 .. see the pictures. can anyone offer suggestions or how to fix .... I know nothing about <sad> ****I think this is the area ...that has the problem ***** </form> <!-- Search Google --> <br clear="all" /> </div> <div id="menu"><span style="float:left">Products and Reviews: </span><?php echo $menu; ?><br clear="all" /></div> Thanks in advance Archer [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/113513-php-firefox-ie7-browser-issue/ Share on other sites More sharing options...
PC Nerd Posted July 7, 2008 Share Posted July 7, 2008 do you have any other CSS's on your page. that could be the issue there. If not... try disabling the float left part for a minute and see what that does. Quote Link to comment https://forums.phpfreaks.com/topic/113513-php-firefox-ie7-browser-issue/#findComment-583271 Share on other sites More sharing options...
mikejonessmith Posted July 7, 2008 Author Share Posted July 7, 2008 more of the code <link rel="stylesheet" type="text/css" href="style.css" media="all" /> </head> <body> <div id="wrapper"> <div id="top"> <h1><a href="<?php echo $config['site_url'];?>"><?php echo $config['site_name'];?></a></h1> <!-- Search Google --> <form method="get" action="http://www.google.com/custom" target="_top"> <label for="sbi" style="display: none">Enter your search terms</label> <input type="text" name="q" size="20" maxlength="255" value="" id="sbi" style="background:#fff url('google.gif') left no-repeat;" onfocus="this.style.background='';" onblur="this.style.background='#fff url(\'google.gif\') left no-repeat;'" /> <label for="sbb" style="display: none">Submit search form</label> <input type="submit" name="sa" value="Search" id="sbb" /> <input type="hidden" name="client" value="pub-<?php echo $config['adsense']['pub_id'];?>" /> <input type="hidden" name="forid" value="1" /> <input type="hidden" name="ie" value="UTF-8" /> <input type="hidden" name="oe" value="UTF-8" /> <input type="hidden" name="safe" value="active" /> <input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#FFFFFF;VLC:663399;AH:center;BGC:FFFFFF;LBGC:FFFFFF;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1" /> <input type="hidden" name="hl" value="en" /> </form> <!-- Search Google --> <br clear="all" /> </div> <div id="menu"><span style="float:left">Products and Reviews: </span><?php echo $menu; ?><br style='clear:both' /></div> Quote Link to comment https://forums.phpfreaks.com/topic/113513-php-firefox-ie7-browser-issue/#findComment-583278 Share on other sites More sharing options...
cooldude832 Posted July 7, 2008 Share Posted July 7, 2008 I'm sorry could you point out the php problem in there I'm having a hard time seeing it. Quote Link to comment https://forums.phpfreaks.com/topic/113513-php-firefox-ie7-browser-issue/#findComment-583281 Share on other sites More sharing options...
mikejonessmith Posted July 7, 2008 Author Share Posted July 7, 2008 my first post has pictures ... before and after .... I have problems with THE page... FIREFOX (looks good) .... IE7 (bad)... see pictures above Quote Link to comment https://forums.phpfreaks.com/topic/113513-php-firefox-ie7-browser-issue/#findComment-583291 Share on other sites More sharing options...
cooldude832 Posted July 7, 2008 Share Posted July 7, 2008 my first post has pictures ... before and after .... I have problems with THE page... FIREFOX (looks good) .... IE7 (bad)... see pictures above PHP usually looks like <?php ?> I don't see any of those things, but I could be out of date with php and you have some super secret invisible php that we're suppose to help you with. Quote Link to comment https://forums.phpfreaks.com/topic/113513-php-firefox-ie7-browser-issue/#findComment-583304 Share on other sites More sharing options...
mikejonessmith Posted July 7, 2008 Author Share Posted July 7, 2008 PHP usually looks like <?php ?> I don't see any of those things, but I could be out of date with php and you have some super secret invisible php that we're suppose to help you with. thanks Quote Link to comment https://forums.phpfreaks.com/topic/113513-php-firefox-ie7-browser-issue/#findComment-583323 Share on other sites More sharing options...
mikejonessmith Posted July 7, 2008 Author Share Posted July 7, 2008 I have some issues with code. This header works in FIREFOX however if I view the page in IE7 .. see the pictures. can anyone offer suggestions or how to fix .... I know nothing about <sad> ****I think this is the area ...that has the problem ***** </form> <!-- Search Google --> <br clear="all" /> </div> <div id="menu"><span style="float:left">Products and Reviews: </span><?php echo $menu; ?><br clear="all" /></div> Thanks in advance Archer I am hoping someone can offer more suggestions Quote Link to comment https://forums.phpfreaks.com/topic/113513-php-firefox-ie7-browser-issue/#findComment-583325 Share on other sites More sharing options...
mikejonessmith Posted July 7, 2008 Author Share Posted July 7, 2008 I am hoping someone can offer more suggestions... any help would be appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/113513-php-firefox-ie7-browser-issue/#findComment-583566 Share on other sites More sharing options...
gigas10 Posted July 7, 2008 Share Posted July 7, 2008 Use ajax/xml to grab the browser, then from there use another css file that works for ie by created a simple js script. if(browser.isIE) { iecss.css; } if(browser.isFF) { ffcss.css; } so on, look up some ajax tutorials Quote Link to comment https://forums.phpfreaks.com/topic/113513-php-firefox-ie7-browser-issue/#findComment-583569 Share on other sites More sharing options...
Jabop Posted July 7, 2008 Share Posted July 7, 2008 You would get the best response in an html or css forum, php does not cause rendering errors in browsers. Quote Link to comment https://forums.phpfreaks.com/topic/113513-php-firefox-ie7-browser-issue/#findComment-583570 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.