The CSS tag max-height can be useful to make your divs extend to the height of the page.
IE8 doesn't understand max-height. A workaround is this hack:
div {
max-height: 1000px;
<!--[if IE 8]>
max-height: none\9;
<![endif]-->
}
</style>
Sources: http://my.opera.com/dbloom/blog/2009/03/11/css-hack-for-ie8-standards-mode and http://www.sitepoint.com/forums/showthread.php?618830-IE8-Bug-I-need-to-fix
Solutions to technical problems that I come across. Keywords: The Web, Ubuntu, Windows, JavaScript, jQuery, AngularJS, PHP, Java, C++, mySQL, noSQL, and more.
Showing posts with label IE. Show all posts
Showing posts with label IE. Show all posts
Friday, September 23, 2011
IE8 max-height bug
Friday, August 26, 2011
Custom cursors cross browser
Want the hand and grabbing hand when you drag and drop something on your webpage, but you need to keep it at CSS2?
check out http://uihacker.blogspot.com/2011/01/css-grab-hand-cursor.html and http://beradrian.wordpress.com/2008/01/08/cross-browser-custom-css-cursors/
check out http://uihacker.blogspot.com/2011/01/css-grab-hand-cursor.html and http://beradrian.wordpress.com/2008/01/08/cross-browser-custom-css-cursors/
Wednesday, April 7, 2010
IE javascript error "Invalid argument"
If you get one of the following errors in IE when running jQuery and/or jqGrid:
or
It is quite possibly that you are trying to set something to
NOTE: IE often doesn't specify the correct line number. So even though it may say line 10, the error could be somewhere else, this is why it is so hard to debug IE. The reason is dynamic pages where javascript libraries and content is added on the fly, IE can't keep up with this.
Message: Invalid argument.
Line: 112
Char: 247
Code: 0
URI: http://.../jquery-1.4.min.jsor
Message: 'p.cellLayout' is null or not an object
Line: 10
Char: 56008
Code: 0
URI: http://.../jquery.jqGrid.min.jsIt is quite possibly that you are trying to set something to
null. Check if any of the javascript variables in the page are null and being used as parameter to call a jqGrid or jQuery function.NOTE: IE often doesn't specify the correct line number. So even though it may say line 10, the error could be somewhere else, this is why it is so hard to debug IE. The reason is dynamic pages where javascript libraries and content is added on the fly, IE can't keep up with this.
Labels:
errors,
IE,
Internet Explorer,
javascript,
jqgrid,
jquery,
null parameter
Subscribe to:
Posts (Atom)