"Boris Zbarsky" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > But to be a first class browser, it's necessary to have
> > clientWidth and clientHeight correct
>
>
> This is one of those cases when you really should just get the computed
> height and width of the <body> or <html> using getComputedStyle()
sh=screen.availHeight;
sw=screen.availWidth;
ch=document.body.clientHeight;
cw=document.body.clientWidth;
if(!cw){ch=sh-132;cw=sw-8}
How would this be with Your getComputedStyle ?
Does it work in MSIE?
--
Roland M�sl
http://pege.org Clear targets for a confused civilization
http://BeingFound.com Web Design starts at the search engine