Forum Moderators: not2easy

Message Too Old, No Replies

swf in divs breaks layout

         

markw7

2:43 am on Mar 30, 2004 (gmt 0)

10+ Year Member



Hi all. Basically I have 2-columns in the first row, 3-columns in the second, all divs with float=left. The second element in the first row is usually a 675 x 200 jpeg but I tried a swf and the page broke, but only on a pc, not a mac. On a pc in the page with the swf my right side nav (the third element in the 2nd row) gets pushed to the row below, as if the browser refuses to allow 3-columns below 2-columns when a swf is involved.

That make sense?

Any help is appreciated....

markw

SuzyUK

5:20 pm on Apr 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi markw7 - Welcome to WebmasterWorld

just bumping this up..

I don't know much about swf in particular..

can you post the object/embed(?) code - whichever HTML element wraps your file is the one that is probably giving the problems - Then someone can maybe help further, if you haven't fixed it already that is ;)

Suzy

markw7

8:06 pm on Apr 3, 2004 (gmt 0)

10+ Year Member



Suzy:

Thanks for the response! I did eventually fix it by trial and error. As you noted, it had to do with the code wrapping the file, or in my case the lack of code. I discovered that wrapping the swf in a table solved the layout problem. Strange but true...

Mark