• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Fixed with a Script

The first step is acknowledging that you have a problem. The second is diagnosing that problem's exact nature. In the third step, programmer Aaron Boodman of Youngpup.net wrote a tiny JavaScript function that, in the presence of IE/Windows, iterates an existing property of the floated block, causing the page to reflow and display correctly. Here is Aaron's entire script:

if (document.all && window.attachEvent) window.attachEvent("onload", fixWinIE);
function fixWinIE() {
        if (document.body.scrollHeight < document.all.content.offsetHeight) {
                document.all.content.style.display = 'block';
     }
}


					  


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint