internet-explorer-7

How to fix IE7 float-clear combination

落花浮王杯 提交于 2019-12-02 01:22:59
问题 I have a field_wrapper class div which contains the 3 sub divs field_label, field_input and field_error I need to put the field_label, field_input side by side and field_error below the first two. Please see below css code to know how i achieved this, My problem is Its is not working in IE7. clear both applied to the field_error is not working. Even after googling for a long time i can't find a proper method to fix this without adding the HTML mark-up. Please advice css tip or any other

Why does this DateTimePicker script cause IE6 and IE7 not to load page

核能气质少年 提交于 2019-12-01 22:58:37
I have a few pages on a asp.net MVC 3 site that cause IE6 and 7 to prompt "Unable to load page" after loading the menu. I have been able to troubleshoot this down to the following DateTimePicker script: <script type="text/javascript"> $('#StartDateTime').datetimepicker({ onClose: function(dateText, inst) { var endDateTextBox = $('#EndDateTime'); if (endDateTextBox.val() != '') { var testStartDate = new Date(dateText); var testEndDate = new Date(endDateTextBox.val()); if (testStartDate > testEndDate) endDateTextBox.val(dateText); } else { endDateTextBox.val(dateText); } }, onSelect: function

CSS height 100% in IE7

时光总嘲笑我的痴心妄想 提交于 2019-12-01 22:40:31
问题 I have a difficult layout in my website and I have a problem now with IE7. How can I in this example set the inner wrapper to fill the height of the outer wrapper? http://jsfiddle.net/fMPNw/2/ 回答1: You have to explicitly define the height of .wrapper, in that situation. That being said, if your top: and bottom: attributes are going to make the height dynamic, your only solution is resetting the height with JavaScript, binding the height to update on window resize, etc. 回答2: I was able to get

Nivo Slider not working with IE7

好久不见. 提交于 2019-12-01 21:59:24
问题 I have reviewed quite a few posts on this site concerning this issue with Nivo Slider. I have checked my commas in the the javascript and it looks right to me: <script type="text/javascript"> $(window).load(function() { $('#slider').nivoSlider({ effect:'fade', slices:15, animSpeed:500, pauseTime:4000, startSlide:0, directionNav:false, directionNavHide:false, controlNav:true, controlNavThumbs:false, controlNavThumbsFromRel:false, controlNavThumbsSearch: '.jpg', controlNavThumbsReplace: '_thumb

CSS Dropdown menu hidden behind content IE7

强颜欢笑 提交于 2019-12-01 21:46:38
问题 I have a dropdown css menu that gets gets hidden behind the main page content when viewed in IE7. I've tried changing z-index values but have had no luck. I've also tried suggestions in other topics from this site but none have worked. the page can be found here: www.melbournedodgeball.com.au/dodgeball2012/about any help would be greatly appreciated 回答1: The CSS spec's paragraph on Z-index says that new stacking context is only created for positioned content with a z-index other than auto.

javascript split regex bug in IE7

梦想与她 提交于 2019-12-01 21:10:14
I am trying to split with this regex ({[^{}]*}) in javascript and I get different result btw IE7 and FF. The firefox result is the right one. <style> .box.round { border-radius: 10px; } </style> <script> jQuery(function ($) { $('style').each(function () { text = $(this).html(); alert(text); alert(text.split(/({[^{}]*})/)); // result in FF: .box.round ,{border-radius: 10px;}, // result in IE7: .box.round }); }); </script> Update Is there a way to change the regex so it work in IE7 also without adding a javascript library? See this old blog post for a possible solution to the variation in

CSS height 100% in IE7

可紊 提交于 2019-12-01 21:09:10
I have a difficult layout in my website and I have a problem now with IE7. How can I in this example set the inner wrapper to fill the height of the outer wrapper? http://jsfiddle.net/fMPNw/2/ You have to explicitly define the height of .wrapper, in that situation. That being said, if your top: and bottom: attributes are going to make the height dynamic, your only solution is resetting the height with JavaScript, binding the height to update on window resize, etc. I was able to get .wrapper2 to layout correctly by making it absolutely positioned. Using the following 2 lines of CSS, width to

How to fix IE7 float-clear combination

不打扰是莪最后的温柔 提交于 2019-12-01 21:01:21
I have a field_wrapper class div which contains the 3 sub divs field_label, field_input and field_error I need to put the field_label, field_input side by side and field_error below the first two. Please see below css code to know how i achieved this, My problem is Its is not working in IE7. clear both applied to the field_error is not working. Even after googling for a long time i can't find a proper method to fix this without adding the HTML mark-up. Please advice css tip or any other method to avoid extra markup code .field_wrapper { clear:both; } .field_label { float:left; width:40%; }

Nivo Slider not working with IE7

廉价感情. 提交于 2019-12-01 20:53:23
I have reviewed quite a few posts on this site concerning this issue with Nivo Slider. I have checked my commas in the the javascript and it looks right to me: <script type="text/javascript"> $(window).load(function() { $('#slider').nivoSlider({ effect:'fade', slices:15, animSpeed:500, pauseTime:4000, startSlide:0, directionNav:false, directionNavHide:false, controlNav:true, controlNavThumbs:false, controlNavThumbsFromRel:false, controlNavThumbsSearch: '.jpg', controlNavThumbsReplace: '_thumb.jpg', keyboardNav:true, pauseOnHover:true, manualAdvance:false, captionOpacity:0.9, beforeChange:

javascript split regex bug in IE7

倖福魔咒の 提交于 2019-12-01 19:31:49
问题 I am trying to split with this regex ({[^{}]*}) in javascript and I get different result btw IE7 and FF. The firefox result is the right one. <style> .box.round { border-radius: 10px; } </style> <script> jQuery(function ($) { $('style').each(function () { text = $(this).html(); alert(text); alert(text.split(/({[^{}]*})/)); // result in FF: .box.round ,{border-radius: 10px;}, // result in IE7: .box.round }); }); </script> Update Is there a way to change the regex so it work in IE7 also without