gamergalaxy Posted September 19, 2008 Share Posted September 19, 2008 Hi there I am having a problem with my website. ( www.gamergalaxy.com.au ) 2 things really. 1. I have flash movies in my header (swf), they work fine in IE but not Firefox 2. The header image (store logo) is centered in ie but not in firefox Id like to be able to have flash work on both and have the logo centered on both. is there something i need to add? ?> <center> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.jpg', STORE_NAME) . '</a>'; ?></td> </tr> </table> <table width="782" border="0" cellspacing="0" cellpadding="0"> <tr> <td><?php require(DIR_WS_BOXES . 'menu.php'); ?></td> <TD width="81" valign="top" align="center"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="577" height="131"> <param name="movie" value="images/banner1.swf"> <param name="quality" value="high"> <embed src="images/your(swf)file here.swf" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="577" height="131"></embed> </object> </TD> Any help would be most appreciated. Thank you. Link to comment Share on other sites More sharing options...
lastblackjellybean Posted September 19, 2008 Share Posted September 19, 2008 Try this: (changes in bold) ?> <center> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" width="100%"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.jpg', STORE_NAME) . '</a>'; ?></td> </tr> </table> <table width="782" border="0" cellspacing="0" cellpadding="0"> <tr> <td><?php require(DIR_WS_BOXES . 'menu.php'); ?></td> <TD width="81" valign="top" align="center"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="577" height="131"> <param name="movie" value="images/banner1.swf"> <param name="quality" value="high"> <embed src="images/banner1.swf" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="577" height="131"></embed> </object> </TD> Link to comment Share on other sites More sharing options...
gamergalaxy Posted September 19, 2008 Author Share Posted September 19, 2008 Thanks so much for that The flash problem is fixed, I feel silly that i didnt spot that one myself lol However the center problem. It does work in Fire fox but now it doesnt work in IE LOL Any ideas on how to have a happy medium ? Link to comment Share on other sites More sharing options...
lastblackjellybean Posted September 19, 2008 Share Posted September 19, 2008 It's a guess, but try getting rid of the width="100%" on the td, but leave the align="center" Link to comment Share on other sites More sharing options...
gamergalaxy Posted September 19, 2008 Author Share Posted September 19, 2008 thank you very much :) all working now. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.