Text wrapping inconsistent in Firefox 3 on PC only

后端 未结 6 757
挽巷
挽巷 2021-01-27 16:34

This is a recurring problem I have in Firefox 3.0. It seems when I keep refreshing sometimes it wraps, sometimes it doesn\'t. When it doesn\'t wrap, I can adjust the window size

相关标签:
6条回答
  • 2021-01-27 16:37

    sIFR may be initializing too early. Easiest fix is to set sIFR.useDomLoaded = false; before sIFR.activate(), which will wait until page load before replacing the elements.

    You can also look into using sIFR.useStyleCheck = true; which needs a bit more CSS but will wait until the CSS has loaded.

    0 讨论(0)
  • 2021-01-27 16:40

    Per Mark's advice, uncommenting sIFR.useStyleCheck = true; just before sIFR.activate() worked for me.

    Robert, sIFR.activate() is found in sifr.js.

    0 讨论(0)
  • 2021-01-27 16:41

    Is sIFR.activate() located in the sifr.js file or the sifr-addons.js file?

    0 讨论(0)
  • 2021-01-27 16:46

    For the common user... make sure that you set your width and height of the div container for your object or image. Firefox will wrap any text following if these values are not set.

    0 讨论(0)
  • 2021-01-27 16:49

    I'm pretty sure it's text-transform:uppercase enlarging the word width after the flash width has been set

    I've been trying to figure a solution to this for some time

    0 讨论(0)
  • 2021-01-27 17:00

    A possibility is that you might need to specify a height on the element. IE7 can have a similar problem.

    0 讨论(0)
提交回复
热议问题