Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Dane D.

macrumors 6502a
Original poster
Apr 16, 2004
645
9
ohio
Our company made this website - http://northstaroilfield.com/northstar.htm
There is a Flash element in the upper-right hand corner. The Flash element shows up in Firefox, Opera, IE, Camino, SeaMonkey but does not show up in Safari, Shiira or iCab. Can someone look at the source code and offer some advice on why this is happening and how to fix. Thank you.
 
I believe Safari is getting caught up on the conditional comments. Safari shows the object tag to be a comment which it should. The below code snippet shows where this is happening.

HTML:
		     <!--[if !IE]>
		     <object data="flash/northstarpump.swf" type="application/x-shockwave-flash" width="214" height="234" align="top">

Safari is interpreting it correctly. M$ made intended the !IE to be used more as "!IE 6" but still available to other IE versions. Mozilla decided they would let their browser access that content as well, though they shouldn't have. Anything between <!-- and --> is a HTML comment and that's exactly how Safari is treating it. So you should probably get that portion of the code reworked.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.