bladechob Posted November 24, 2006 Share Posted November 24, 2006 Hi, I've got a couple of sites where the the index pages have gone slightly skew whiff when viewed by IE7. It seems to occur around the login sections which are set up as this:[code]<div id="login" style="position:relative; width:240px; height:72px; z-index:1; left: 483px; top: -8px; align:left"> <?php if(empty($_SESSION['loggedIn'])){?> <form name="form1" action="<?php echo $_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING']; ?>" method="POST"> <table> <tr> <td class="none">LOGIN: </td> <td><div align="left" class="none">Username:</div></td> <td><div align="left" class="none"> <input type="text" name="username" value=""> </div></td> <td></td> </tr> <tr> <td><a href="http://www.iwanttostay.com"><img src="images/uk.jpg" alt="English language version" width="34" height="25" border="0" /></a><br /> <br /> <a href="http://www.iwanttostay.com/indexf.php"><img src="images/france.jpg" alt="French language version" width="34" height="25" border="0" /></a> <br /> </td> <td><div align="left" class="none">Password:</div></td> <td><div align="left" class="none"> <input type="password" name="password" value=""> <br> <b>[ <a href="javascript:openW('https://www.cimnet.co.uk/iwant/lostpass.php','lp','width=540,height=360,scrollbars=yes')">Lost password?</a> ]</b> <input type="hidden" name="login" value="r"> </div></td> <td><input type="submit" name="submit" value="login"></td> </tr> <tr> <td colspan="4"><font color="#cc0000"><b><?php echo $login_msg ?></b></font></td> </tr> </table> </form> <?php }else{ ?> <p>Welcome, <b><?php echo $_SESSION['firstname'] . " " . $_SESSION['surname'] ?></b>.<br> Go ahead and make a booking.</p> <p>[ <a href="<?php echo $_SERVER['PHP_SELF'].'?content=home&logout=true';?>"><b>Logout</b></a> ]</p> <?php } ?> </div>[/code] Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted November 24, 2006 Share Posted November 24, 2006 what is exactly happening? is it all out of wack like in format or is the code not working.... Quote Link to comment Share on other sites More sharing options...
taith Posted November 24, 2006 Share Posted November 24, 2006 ie7 has caused more problems of late then any 2 other microsoft products combined... its probably not on your end... Quote Link to comment Share on other sites More sharing options...
bladechob Posted November 24, 2006 Author Share Posted November 24, 2006 Thanks. The code is working it is just that certain elements on the page - like the login get 'buried' beneath other links; I thought it might have something to do with footers or headers and their relative positioning. Been playing around with it but getting nowhere fast... Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted November 24, 2006 Share Posted November 24, 2006 This isn't a PHP problem, more like a CSS problem, so I'm moving it to that forum.Ken Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted November 24, 2006 Share Posted November 24, 2006 did ur site look the 'same' in ie6 as it did in FF?What is your doc type? Quote Link to comment Share on other sites More sharing options...
bladechob Posted November 25, 2006 Author Share Posted November 25, 2006 Yep firefox and ie6 display same results Quote Link to comment 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.