Showing an initially hidden element as inline instead of block
Let's say I have an element that's initially hidden (I used display:none in my css file). I would like to show it using slideToggle, fadeIn, or another similar method. What's the best way to go about this if I want it to be shown as display:inline rather than display:block? Can I specify this with jQuery? I know I can "trick" jQuery using css specificity or inline styles, but is there a clearer way? An example of "tricking" jQuery into using display:inline initially:
http://jsfiddle.net/JYsnd/