Firefox problem

Page: 1

Author Post
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=&#039;/floatbox_752/floatbox.js&#039;></script>
</head>
<body>
<P><a href=&#039;/image.png&#039; class=&#039;floatbox&#039;>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
Member
Registered: Nov 2010
Posts: 71
I doubt that anyone will be able to assist you unless you provide a link with an example.
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>
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?
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

Page: 1