How do I find out what Firefox does not like about my web page?
I built a new web site with a template that I thought was current. It seems like it uses all of the standard stuff that Firefox insists on having. Other browsers are apparently more forgiving and open my site just fine. Alas, some people just use Firefox so I need to repair my web site. BUT I don't know what is wrong with it. Is there some way to pinpoint the problem, like does it hate my CSS or does it choke on this dash or that comma? I want to update my pages but I just don't know where to start. Thank you.
被采纳的解决方案
You shouldn't use more than two subsequent hyphens (----) in a comment tag to avoid problems. Change all occurrences of more than two hyphen to exactly two hyphens (--)
<!--a href="#"--><img src="images/pixel-clear.gif" height="93" alt="" border="0" /><!--/a--></h1> <p> <font color="#000099" size=+1>experience the energy!</font></p> </div> <div class="top_right"> <div class="top_details"> <!--img src="images/img4.gif" alt="" /-->
A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum. The helpers at that forum are more knowledgeable about web development issues. You need to register at the mozillaZine forum site in order to post at that forum. See http://forums.mozillazine.org/viewforum.php?f=25
定位到答案原位置 👍 0所有回复 (3)
选择的解决方案
You shouldn't use more than two subsequent hyphens (----) in a comment tag to avoid problems. Change all occurrences of more than two hyphen to exactly two hyphens (--)
<!--a href="#"--><img src="images/pixel-clear.gif" height="93" alt="" border="0" /><!--/a--></h1> <p> <font color="#000099" size=+1>experience the energy!</font></p> </div> <div class="top_right"> <div class="top_details"> <!--img src="images/img4.gif" alt="" /-->
A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum. The helpers at that forum are more knowledgeable about web development issues. You need to register at the mozillaZine forum site in order to post at that forum. See http://forums.mozillazine.org/viewforum.php?f=25
由cor-el于
Oh, golly. That actually did the trick.
1) Thank you VERY much 2) I am glad it was simple. 3) I am p!ssed that it was simple; I should have fixed that months ago. 4) WTF, Mozilla? Firefox is seriously going to quibble over --- or --- vs -- ? Sheesh.
Thanks again. It's nice when something can be solved easily and with the prompt help from a cor-el in cyberspace.
You're welcome.
Each two hyphens toggle the comment state, so using more then two is always a gamble. You can see such issues if you look at the page source (View > Page Source)