On Feb 19, 2009, at 10:51 PM, Sarah Atkinson wrote:

> Found this in one of the css files a co worker sent me with his design
> templete. What is it for? Anyone know? Is it legal? And what is  
> with the *
>
> * html #facebox_overlay { /* ie6 hack */  position: absolute;  height:
> expression(document.body.scrollHeight > document.body.offsetHeight ?
> document.body.scrollHeight : document.body.offsetHeight + 'px'); }

This is a CSS expression from the stylesheet included with the jQuery  
modal window plugin Facebox [1], which the template presumably employs.

Its purpose is to allow the Facebox overlay background to extend to  
the full height of the page.

* html is a CSS hack for IE6 [2].

Jonny

[1] http://famspam.com/facebox
[2] http://css-discuss.incutio.com/?page=StarHtmlHack
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to