tags:

views:

423

answers:

2

Hi,

I trying to hide the element before replacement by using the .sIFR-active class, set on the HTML element, to apply CSS rules to elements when sIFR is active. I set the visibility: hidden; and it is working fine in IE and Firefox. Not Safari.

Any idea?

A: 

The .sIFR-active class might be set on either the <html> or the <body> element. If your CSS rule is explicitly html.sIFR-active it won't trigger if it happens to be added to the <body>.

Mark Wubben
A: 
.sIFR-alternate {
  display: none;
}
Joshua Baker