Help - Search - Members - Calendar
Full Version: Flash object alignment in Firefox?
HTMLHelp Forums > Web Authoring > Cascading Style Sheets
adam
Befor ei start this is the page in question:

http://www.underoathfans.net/design/temp/projects/sp

I was wondering why the flash object at the beginning is center aligned in iexplorer but slightly to the left off center in Firefox?

I use

CODE

<p align="center">

FLASH

</p>


to align it which is probably the problem but i dont know how else to align it!

here is the full code from opening to closing P tag:

CODE

<p align="center">
    <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','550','height','300','src','flash/Untitled-1','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','flash/Untitled-1' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="550" height="300">
      <param name="movie" value="flash/Untitled-1.swf">
      <param name="quality" value="high">
      <embed src="flash/Untitled-1.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="550" height="300"></embed>
    </object></noscript>
  </p>



Hope someone can help.

thanks

adam
pandy
Actually, it's only when the JS is used that it is that way. I don't know why FF hnadles a script tag inside a P this way, but use DIV instead and I think it'll work.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.