[jQuery] FadeIn Issues -- Blocks?
> Question: why do show/hide set the display attribute? Why not use
"visibility"?
Because visibility doesn't collapse the space. Change the code and see what
happens.
> According to http://www.w3schools.com/css/pr_class_display.asp this *adds*
a newline element.
It is just saying that display:block makes it a block level element; the
term "line break" is a bit confusing but it definitely isn't the same thing
as a newline character (which is just whitespace in HTML). Are you trying to
fade a non-block element? It doesn't look like the existing code expects
that.
> I was looking at the code trying to understand why extra space is added
after using FadeIn/Out
Do you have a page that shows the problem? I know others have reported it
but I don't have a demo handy. It looks like the problem shouldn't happen
with fades at all, I don't see a place where height/width are being changed.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/