> Good morning list!
>
> A project I've recently been working on, had a hasLayout
> problem in IE, some
> text would vanish and reappear at random. Setting hasLayout
> fixed it, but
> of course renders the code invalid.
>
> The client, understandably, wants the CSS to validate, I am
> completely stumped as to how to fix this in a valid way and
> so that the text remains visible.
>
> As the site arrived to us with just a few additions, the code
> had already been written and I beleive that to fix this bug
> would require quite alot of re-writing of the entire site.
>
> Do you know of a way to set hasLayout in a valid way?
>
> Thanks in advance
> Kristina
Kristina,
Try this:
<!--[if IE]>
<style type="text/css">
SOME-ELEMENT-NEEDING-LAYOUT,ADDITIONAL-ELEMENTS{zoom:1.0;}
</style>
<![endif]-->
Just list the elements you need to have layout.
Hope it helps.
Bill
|================================|
| Bill Brown |
| Webmaster, MacNimble.com |
| http://www.macnimble.com |
| mailto:[EMAIL PROTECTED] |
| Phone: 215-237-2037 |
|================================|
___________________________________________________________
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/