_tina_ Posted October 14, 2009 Share Posted October 14, 2009 Hi, I have the following. #memberlogin .logininput{ background:url(/images/memberlogin_formbg.gif) no-repeat left top; width:239px; height:42px; padding: 10px 10px 19px 25px; margin-left: 30px; overflow:hidden; } #memberlogin .logininput .email{ margin:0; padding:0; margin-bottom:5px; } #memberlogin .logininput .email, #memberlogin .logininput .password{ display:block; } #memberlogin p{ color:#cccccc; font-size:12px; } and the HTML <form id="memberloginform" action="/auth/authenticate" method="post"> <input type="hidden" value="http://staging.ratemybroker.s8.cnydevzone.com/" name="url"/> <div class="logininput"> </div> <div class="submitwrap"> </div> </form> This works fine in IE7 and FF but in IE8, it pushes the two form fields far over to the left and only displays from the middle of the box to the end. Any idea from the above of what might be causing this? Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/177661-ie8-css-problem/ Share on other sites More sharing options...
_tina_ Posted October 14, 2009 Author Share Posted October 14, 2009 Also to note, where I set margin-left: 30px; When I test using F12 in IE8, it's showing up as a -115px value rather than 30px. Is there a way around this? Thanks again. Hi, I have the following. #memberlogin .logininput{ background:url(/images/memberlogin_formbg.gif) no-repeat left top; width:239px; height:42px; padding: 10px 10px 19px 25px; margin-left: 30px; overflow:hidden; } #memberlogin .logininput .email{ margin:0; padding:0; margin-bottom:5px; } #memberlogin .logininput .email, #memberlogin .logininput .password{ display:block; } #memberlogin p{ color:#cccccc; font-size:12px; } and the HTML <form id="memberloginform" action="/auth/authenticate" method="post"> <input type="hidden" value="http://staging.ratemybroker.s8.cnydevzone.com/" name="url"/> <div class="logininput"> </div> <div class="submitwrap"> </div> </form> This works fine in IE7 and FF but in IE8, it pushes the two form fields far over to the left and only displays from the middle of the box to the end. Any idea from the above of what might be causing this? Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/177661-ie8-css-problem/#findComment-936826 Share on other sites More sharing options...
Dorky Posted October 24, 2009 Share Posted October 24, 2009 <meta http-equiv="X-UA-Compatible" content="IE=7"> a gift Link to comment https://forums.phpfreaks.com/topic/177661-ie8-css-problem/#findComment-943273 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.