Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »General »Graphic Design and Web Design Help

Notices

Graphic Design and Web Design Help Get Graphic Design and Web Design related help here


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-01-2008, 06:15 PM
Junior Member
 
Join Date: Dec 2007
Posts: 12
Default swfobject and firefox

I have an issue when using swfobject, which replaces an image that is aligned left with a movie, followed by another div. Firefox insists on placing the next div on a new line! Other browsers just place it immediately to the right on the movie, as intended by me. If I disable Flash, then Firefox happily places the content div immediately to the right of the image div, no new lines.

Code goes like this:

HTML Code:
<div id=image><img src="/img/image.jpg"></div>

<script type="text/javascript">
    var so = new SWFObject("/intro.swf", "mymovie", "700", "450", "8", "black");
    so.write("image")
</script>

<div id=content>$content</div>
Anybody has any idea what might be causing it? Both divs have display:table properties.

Any help greatly appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote

  #2 (permalink)  
Old 04-01-2008, 08:17 PM
Mack's Avatar
I own the flash design thread.
 
Join Date: May 2007
Location: RI, USA
Gender: Male
Posts: 1,448
Default

What styles do you have set on the div image and div content. ?
Can we see this in use somewhere?
__________________
"If at first you don't succeed, try again. Then quit. No use being a damn fool about it."
Mike McKenzie - Online Portfolio
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #3 (permalink)  
Old 04-01-2008, 08:34 PM
Junior Member
 
Join Date: Dec 2007
Posts: 12
Default

You can see the entire setup on Verkoso - Diamonds Beyond Ordinary - the main page has the problem described, but others simply have image in 'image' div - the insides of both divs are filled dynamically. As long as there is no flash, everything works fine, but with it...

I apologize for a somewhat bloated code, I realize some things could probably be done more efficient so spare the comments on DIVitis or anything like that.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox Plugins Toon Web Browsers Forum 44 04-07-2008 07:50 AM
Firefox Three PR Design Web Browsers Forum 10 04-12-2007 05:20 PM
digitalrevolution blog: Firefox Extensions That Should Be Part Of Firefox Graphic Design Links Graphic Design Links 0 26-11-2007 11:20 AM
Portable Firefox gazneale Off Topic 1 14-08-2007 01:01 PM
firefox help? stone General Web Design Forum 3 11-08-2007 06:24 PM


All times are GMT. The time now is 09:09 PM.



Estetica Design Forum's Privacy Policy
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0