The display CSS property is always set to Block when invoking show() or when the element's dimensions are changed (i.e. by setting height or width, or by using a show effect like slideDown).
Instead of always settings display to Block to show the element, I'm proposing that display be set to the value most appropriate for the element. If the element is a table, display should be set to "table". This would display the non-block elements more accurately, as they would appear without a "display: block" constraint. For example, tables that go through jQuery show/hide changes are displayed as blocks instead of tables, which include a line break before and after the table. It's a minor example, but it affects the seamless animation that I think jQuery is known for. I'm aware that neither IE6 nor IE7 support most of the display values, but IE8 fully supports all the display values specified by CSS 2.1. I don't know if they render as they should though, as IE is known to render some things its own way. I suppose a work-around for IE6/7 would be to continue to setting display as block for everything since most other values are unsupported. Yes/no? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---