DebugBar Forums
 
 HOME 
 DOWNLOAD 
 BUY 
 DOC / WIKI 
 FORUM 
 CONTACT 
Stay tuned : rss feed

Forum Home


advanced search


You are not logged in.

Announcement

When reporting a problem or a bug :
* Provide your OS version (INCLUDING service pack) and installed IE version.
* Provide your IETester version
* Provide the IE Tab version opened to generate the problem
* Provide a test case with a sample url or sample code to reproduce the problem
* Provide a step by step explanation on how to reproduce the problem.
* If needed provide additional information.

Thanks.

#1 2011-11-06 14:02:11

hibr
New member
Registered: 2011-11-06
Posts: 1

Javascript-CSS-IE6 Hack does not work on W7-64-bit IE9 installed

The following IE6-CSS-Hack code should bring IE6 or earlier versions to shrink the width of the container with the id pagewrapper to 859px.

The code works with native IE6.

IMPORTANT: This effect appears on my Win7-64-bit Box with IE9 installed only. On my Vista-32-bit machine with also IE9 installed IETester works as expected. Tested IETester versions 0.4.9 to 0.4.11. No difference whether in user or administrator mode.

Code:

<script type="text/javascript">
<!--
//pass min and max -measured against window width
function P7_MinMaxW(a,b){
  var nw="auto",w=document.documentElement.clientWidth;
  if(w>=b){nw=b+"px";}if(w<=a){nw=a+"px";}return nw;
}
//-->
</script>
<!--[if lte IE 6]>
<style type="text/css">
#pagewrapper {width:expression(P7_MinMaxW(859,859));}
#container {height: 1%;}

</style>
<![endif]-->

ph 55 wrote in http://www.my-debugbar.com/forum/p3735- … html#p3735 to unistall IE9 to fix a similar problem. So far I am not willing to uninstall IE9 just for IETester.

Kind regards, Hani

Offline

 

Partners : Debugbar | Mobilier de bureau | Debugbar Wiki | IEForge | Lampes design | La fourmi créative