My website in acting stangely while being viewed in firefox so I started debugging and found firefox only is adding extra <strong>
tags in my code, all empty?
Any ideas?
http://allia.honestideas.co.uk/
Any time the generated markup differs from the markup retrieved from the server (i.e., the markup you get when doing "View Source"), JavaScript is involved. The only way the structure of the page can be different from the markup you wrote is if JavaScript is making changes.
In this case, the extra <strong>
tags all seem to be clustered immediately around the slider markup. I can't find any obvious explanation in slider.js
but it's also not a plugin I'm intimately familiar with. Removing slider.js
from the page entirely should solve the problem, but of course you then won't have the functionality you want. Perhaps a different plugin can offer the same functionality without the unintended side-effects.
Firefox is not adding anything. If you look at 'view source', there are no strong tags in there. So what debugger are you using? I'd bet the debugger is inserting something.
In firebug, I see a strong syntax in the code
#mainContent strong, #mainContent label
may be this causing some issues. I am not sure too.
精彩评论