| |
Author |
Post |
|
#1 Fri Mar 02, 2018 3:38 pm
|
Member
Registered: Jan 2014
Posts: 8
|
Hello, I've this simply code <html> <head> <link type="text/css" rel="stylesheet" href="/floatbox_752/floatbox.css"> <script type="text/javascript" src='/floatbox_752/floatbox.js'></script> </head> <body> <P><a href='/image.png' class='floatbox'>foto</A></P> </body> </html>
Il the last Chrome browser works, opening the picture. Il the last Firefox (58.0.2) it doesn't Any suggestion? Thanks Fabrizio
|
|
#2 Fri Mar 02, 2018 6:46 pm
|
Member
Registered: Nov 2010
Posts: 71
|
I doubt that anyone will be able to assist you unless you provide a link with an example.
|
|
#3 Fri Mar 02, 2018 7:33 pm
|
Administrator
Registered: Aug 2008
Posts: 3382
|
Mr. Steve is right about support needing a live example to debug. In the case of the provided snippet, I would first clean it up by adding a doctype, checking that it validates at https://validator.w3.org/#validate_by_input, and using consistent lowercase tag names (i.e., <p><a></a></p> and not <P><a></A></P>
|
|
#4 Fri Mar 02, 2018 7:50 pm
|
Member
Registered: Oct 2017
Posts: 38
|
Even with the sloppy coding - no DOCTYPE, inconsistent tag case, unnecessary "type" attributes - it still works for me in FF 58.0.2, so the problem has to be elsewhere. Server path problem? Some FF extension blocking it? FF cache retaining some old Javascript?
|
|
#5 Fri Mar 02, 2018 8:17 pm
|
Member
Registered: Jan 2014
Posts: 8
|
Hi all, I've found the problem: it's in the User-Agent Switcher Firefox extension. I don't know why, but disabling it, everything works as expected. Thanks to everybody
|