Maybe use opacity:0 instead? More rules to cater for different browsers, but might work more reliably... maybe...?
On 12/23/05, Ben Curtis <[EMAIL PROTECTED]> wrote: > > On 12/22/05, Thomas Livingston <[EMAIL PROTECTED]> wrote: > > Hi listers, > > > > We have a div being hidden (visibility:hidden;) and then using > > javascript to show hide layers (sort of a pop-up but not sorta thing). > > > > If we give it a height and apply overflow:scroll; (or auto) it looks > > and works dandy, except for Mac FF (1.5). We are still seeing the > > div's scroll bars when in it's hidden state. > > > > Anyone come across this before and fix it? > > > I've seen other evidence that Mac browsers that call the OS for > elements (scrollbars, buttons, etc.) have trouble with changing styles. > > One thing you might try is to have the javascript change the class, > instead of changing a style attribute. This also helps because you > just style the two states of the div however you please, and the > javascript never needs to change. > > -- > > Ben Curtis : webwright > bivia : a personal web studio > http://www.bivia.com > v: (818) 507-6613 > > > > > ****************************************************** > The discussion list for http://webstandardsgroup.org/ > > See http://webstandardsgroup.org/mail/guidelines.cfm > for some hints on posting to the list & getting help > ****************************************************** > > -- Joshua Street http://www.joahua.com/ +61 (0) 425 808 469 ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
