Seona Bellamy wrote:
> #sizer {width:expression(document.body.clientWidth > 1554 ? "402px" :
"75%" );}
> would it be possible for someone to translate that expression into plain
english for me

Hi Seona

Hope this clarifies.

The expression says:

"If the body/viewport[1] width is greater than 1554px then set the width of
the sizer element to 402px, otherwise set the width to 75%"

[1] Browsers implement the measurement of document.body.clientWidth
differently, mostly falling into either of the viewport width minus the
scrollbar, or the width of the body element.

Regards

Scott Swabey
Design & Development Director

Lafinboy Productions
www.lafinboy.com


******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to