Well, all you have to do to see for yourself is to set an element's height and width with CSS while setting its display property to inline and see what you get.

<div style="display: inline; height: 500px; width: 500px; background- color: red;">this is a test</div>

then try it without display: inline;


--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Oct 10, 2009, at 5:11 PM, Sn3b wrote:


Hi everyone,

I was wondering if anyone knew anything about the internal update
function that seems to be used for effects.
My real question is, is it really necessary to change the css
"display" property to "block" when an animation involves changing the
height or width of the element to animate?

I'm sure there's a reason for it, but I just don't know what...

I'm trying to animate some elements but I really need the "display"
property to stay on "inline", would there be a trick for that?

Thanks :)

Reply via email to