It would seem that the fadeTo() method changes the element.style.display to
'block'.

Is this by design? It messes up inline elements.

One workaround for the time being might be to wrap an inline element inside
another before fading it.

Cheers,

George



DaveG-2 wrote:
> 
> 
> I was looking at the code trying to understand why extra space is added
> after using FadeIn/Out, and also why setting properties of "visibility"
> after using fadeIn/Out doesn't work. The code is a little tough to follow,
> but it seems that the hide/show functions set the display property to
> block. According to http://www.w3schools.com/css/pr_class_display.asp this
> *adds* a newline element.
> 
> Question: why do show/hide set the display attribute? Why not use
> "visibility"?
> 
> 
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/FadeIn-Issues----Blocks--tf1755895.html#a6448536
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to