[thelist] window/viewport height

Peter-Paul Koch gassinaumasis at hotmail.com
Thu Aug 1 13:59:02 CDT 2002


>Is there a reliable way to get the window/viewport height
>cross-browser?

Yes, but it's not easy. See
http://www.evolt.org/article/document_body_doctype_switching_and_more/17/30655/index.html
for my article about this subject.

>The reason I ask, I have a CSS 3 column layout. The columns are only
>so deep as the content. I want to set the shorter columns to the
>vertical size as the deepest.

Yup, read out the document height and set all columns to that height. Should
work in modern browsers.

ppk

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com




More information about the thelist mailing list