Some jQuery animations convert stuff to block-level. If you want to avoid that effect, you can apply a callback that converts back to inline.

$(expr).fadeIn(500, function() { $(this).css("display", "inline") })

-- Yehuda

On 10/30/06, Chris W. Parker <[EMAIL PROTECTED]> wrote:
Hello,
 
I'm just beginning to play with jQuery and as well I'm a novice with js.
 
I'm just doing some VERY simple tests right now and I ran into some unexpected behavior.
 
The following HTML will render on the same line in your browser:
 
<a class="one" href="">
<a class="two" href="">
 
But when I apply fadeIn() to either of those elements they (appear to) turn into block elements thus rendering them on separate lines.
 
Is this to be expected?
 
 
 
Thanks,
Chris.

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/





--
Yehuda Katz
Web Developer | Wycats Designs
(ph)  718.877.1325
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to