
07-21-2009
|
|
|
|
Re: IE 8 Does not render validated XHTML
Bob Woodman schreef:
> My web site at www.wendoveru3a.org.uk validates as XHTML Strict but IE8 does
> not render it. Firefox and IE7 are OK. The compatibility mode is OK. What
> does IE8 object to? and how do I fix it?
it does load....
but it kees looping through some javascript (through the 'IE version'
branch, of the function 'resize'):
window.onresize=resize;
function resize()
{
if (window.innerWidth)
{//FF version
sh=innerHeight;
sw=innerWidth;}
else
{//IE version
sh=document.body.parentElement.clientHeight+15;
sw=document.body.clientWidth+15;}
//calculate port margins
portwm=Math.max(20,(sw-740)/2);
portmh=Math.max(20,(sh-400)/2);
//resize elements
.......
--
Luuk
|