On Aug 9, 2006, at 3:28 PM, Frank Manno wrote: > > css: #myDiv{ display; none } > js: $("#myDiv").show(); > > The div does not get displayed... It works fine in FF. It does work, > however, when removing the "display: none" style. Any ideas on how to > get this working in Safari?
Not tested, but there are two possibilities that I can think of. 1. css: /* #myDiv{ display; none } -- comment out this line */ js: $(document).ready(function() { $("#myDiv").hide(); }); 2. css: #myDiv{ display; none; } js: $("#myDiv").css("display","block"); ___________________ Karl Swedberg www.englishrules.com On Aug 9, 2006, at 3:28 PM, Frank Manno wrote: > Hey all, > > I've tried searching the discussion arcives to no avail... I'm running > into an issue on Safari 2.0.4 where setting a DIV to "display: none" > in the CSS causes the "show()" method to not work. > > here's an example: > > css: #myDiv{ display; none } > js: $("#myDiv").show(); > > The div does not get displayed... It works fine in FF. It does work, > however, when removing the "display: none" style. Any ideas on how to > get this working in Safari? > > > Thanks in advance, > Frank > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/