Previous Message
Next Message

[IE hack] IE6 freeze update

Sent by Jeroen Visser [ vizi ] on 24 August 2004 16:04


Jeroen Visser [ vizi ] wrote:
> Hello thinktank,
> 
> Test case on: <http://www.vizi.nl/temp/ie6test/>
> (Warning: your IE6 may freeze on window resize with this page.)

I've made a small update after a suggestion I got in a Dutch newsgroup. 
A separate CSS rule is served to IE6, using the [html] element rather 
than the [body]:

   <!--[if IE 6]><style type="text/css" media="screen">
div#bgwrapper { width: expression(document.html.clientWidth < 780 ? 
"780px" : "auto" ); }
   </style><![endif]-->

Does this solve my little problem?

Thanks again,

Jeroen Visser

-- 
vizi fotografie & grafisch ontwerp

I  http://www.vizi.nl/
E  [EMAIL-REMOVED]

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: