Tuesday 22 April 2008
A css selector point
Par Vincent DEMAY, Tuesday 22 April 2008 :: IE sucks
Tuesday 22 April 2008
Par Vincent DEMAY, Tuesday 22 April 2008 :: IE sucks
Tuesday 29 January 2008
Par Vincent DEMAY, Tuesday 29 January 2008 :: IE sucks
It's an unfortunate fact that Internet Explorer will always incorrectly expand any dimensionally restricted block element so that oversize content is unable to overflow, as the specs require that content to do. I will be comparing IE/win's way with the correct behavior as seen in Firefox. The W3C says a rigidly sized block box should allow oversize content to protrude or overflow beyond the edges of the sized box.
There is no real "fix" for IE/win's incorrect behavior, except to work around or avoid it. Several possible workarounds will be detailed as I discuss the issue.
Saturday 26 January 2008
Par Vincent DEMAY, Saturday 26 January 2008 :: IE sucks
Tuesday 22 January 2008
Par Vincent DEMAY, Tuesday 22 January 2008 :: IE sucks
node.style.cssFloat = "left"; //instead of node.style.floatpretty good but our dear IE is not agree with that, with you should do :
node.style.styleFloat = "left"; //specific for our dear friend IE
Thursday 15 November 2007
Par Vincent DEMAY, Thursday 15 November 2007 :: IE sucks
Thursday 2 August 2007
Par Vincent DEMAY, Thursday 2 August 2007 :: IE sucks
inherit). Par Vincent DEMAY, Thursday 2 August 2007 :: IE sucks
function aFunction(aVariable){
window.setTimeout(myFunction(){alert(aVariable)}, 500);
}
aVariable. So there are to way to deal with thatfunction aFunction(aVariable){
window.setTimeout(eval("myFunction(){alert('" + aVariable + "')}", 500);
}
Second, the better You can use a function returning a function :
function aFunction(aVariable){
window.setTimeout(getOnTimeOut(aVariable), 500);
}
function getOnTimeOut(aVariable){
return function(){ // no params
alert(aVariable);
}
} Tuesday 24 April 2007
Par Vincent DEMAY, Tuesday 24 April 2007 :: IE sucks
var scrollTop = window.pageYOffset || document.documentElement.scrollTop || 0;
var scrollLeft = window.pageXOffset || document.documentElement.scrollLeft || 0;