Reply LinkBack Thread Tools Search this Thread
Old 24-09-2007, 18:42   #1 (permalink)
skillet
Registered User
 
Join Date: Mar 2007
Posts: 3
<script> tab breaks floats in Firefox?

When I insert javascript into a floated Div, it breaks everything in Firefox. It works fine in IE, but it seems like Firefox is rendering the <script> tag as a "block" and causing all the other floats in line to drop to the bottom.

Has anyone else run into this problem?
  Reply With Quote
Old 24-09-2007, 19:59   #2 (permalink)
d3mcfadden
Senior Member
 
d3mcfadden's Avatar
 
Join Date: Apr 2005
Location: -
Posts: 686
Send a message via AIM to d3mcfadden
put javascript in the <head> where it belongs...
  Reply With Quote
Old 25-09-2007, 04:27   #3 (permalink)
funkyprem
For all your goober needs
 
funkyprem's Avatar
 
Join Date: Dec 2004
Location: Coventry, UK
Posts: 1,345
you mean just before </body> right??

there was a presentation done at @media by someone which i now can't find, but this will get you started if you're interested why i've just said that.

Vitamin Features » Enhance your (page) performance!
__________________
Time is really the only capital that any human being has, and the one thing that he can’t afford to lose. - Thomas Edison
  Reply With Quote
Old 01-10-2007, 10:07   #4 (permalink)
skillet
Registered User
 
Join Date: Mar 2007
Posts: 3
I figured out the issue....

One of my containing divs was set with "display:table". Removing it fixed the issue.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8