Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Code that displayed in previous versions does not display in Firefox 4

  • 2 відповіді
  • 2 мають цю проблему
  • 1 перегляд
  • Остання відповідь від dsc3507

more options

The following code, downloaded from a remote site does not display in Firefox 4 but does in all previous versions...

<title>One Wire Temperature Readings <title> </head> <body bgcolor="FFFFFF"> <center> <h1>One Wire Temperature Readings Cape May, NJ</h1> <p> <hr> <pre> 03/24/11, 11:30:02, 10E2AAED0108003B, 0, 57.5 03/24/11, 11:30:04, 101297E101080033, 1, 66.4 03/24/11, 11:30:05, 10C59EE101080081, 2, 66.2 03/24/11, 11:30:07, 2624F2CA0000000C, 3, 36 </pre> <p> <hr> </body> </p><p>There were no additional plugins added when upgrading. </p></title>

The following code, downloaded from a remote site does not display in Firefox 4 but does in all previous versions... <html> <head> <title>One Wire Temperature Readings <title> </head> <body bgcolor="FFFFFF"> <center> <h1>One Wire Temperature Readings Cape May, NJ</h1> <p> <hr> <pre> 03/24/11, 11:30:02, 10E2AAED0108003B, 0, 57.5 03/24/11, 11:30:04, 101297E101080033, 1, 66.4 03/24/11, 11:30:05, 10C59EE101080081, 2, 66.2 03/24/11, 11:30:07, 2624F2CA0000000C, 3, 36 </pre> <p> <hr> </body> </html> There were no additional plugins added when upgrading.

Усі відповіді (2)

more options

There are some problems with that code. Is this the whole thing?
Or is there more before and after?
A standard html page should have a tag and a tag before the <title> tag. <br> This whole section: </p><p>There were no additional plugins added when upgrading. </p></title> is after the end of the page (the ending tag).
Some older browsers (especially IE) are set up so that they can process broken HTML to some degree. Apparently, some of the problems with this are too bad for Firefox 4 to understand. But, they can be fixed, which is much better in the long run anyway.

If this is your page and this is all there is, just fixing what is missing, you would want something like this:

http://www.scribd.com/doc/51468610/test

Sory, it ate my HTML when I posted it here

If it's not your page, perhaps you could e-mail the page owner and explain to them that they have problems with their HTML code?

Змінено Raine Dragon

more options

Replying to my own question the fix was simple. This code was dynamically generated by code I wrote. The fix was a missing / at the end of the title block. <title> which should be </title>

Correcting only this solved the problem but I will further correct the improper HTML. This error went unnoticed when using prior Firefox versions.

Thanks, Doug