On 6/19/07, Matt <[EMAIL PROTECTED]> wrote:
>
> That is very strange, i had run into a very opposing yet similar
> problem with IE and fade effects.
>
> Without what IE considers a "layout" on the object the text will look
> bold as the element transitions,

But this shouldn't be necessary when using any opacity related
Scriptaculous effects, since Effect.opacity includes a hack to set
hasLayout in IE, if it's not already set. (This could, I'd think,
create its own problems, but I've never run into any.)

> this is fixed by giving the element a
> background color and a width or height, can't remember but it might be
> something quirky like that.

The simplest way to set hasLayout is to, as Scripaculous does, declare
'zoom: 1' on the relevant element. All non-IE browsers will ignore it,
and it won't change IE's behavior any.

Ingo Chao's article is still the best for understanding the hasLayout
issue, AFAIK:

http://www.satzansatz.de/cssd/onhavinglayout.html

-- 
Chris Boone, Hypsometry
http://hypsometry.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to