
Since updating to Firefox 4, why is my website not displaying properly?
Sine updating to Firefox 4, one of my websites - www.fonografiacollective.com - is not displaying the home page properly. For some reason, it is showing our logo twice. This site has a WordPress CMS, and I am not technically savvy enough to know what is not compatible with the new version of Firefox. Please help as soon as possible.
Thanks so much- Bear Guerra
所有回复 (3)
I think that is is caused because you place a block element (DIV) in an inline element (A)
You can't do that.
It works if I disable the HTML5 parser, but with HTML5 enabled I see an extra A tag and all A tags are closed and reopened.
<a title="Fonografia Collective" href="http://fonografiacollective.com"> /* inline */ <div class="logo"> /* block */ <h1 class="hometitle"> <a href="http://fonografiacollective.com/" title="fonografia collective">fonografia collective</a> /* block */ </h1> </div>
Generated source from the DOM with HTML5 enabled:
<a title="Fonografia Collective" href="http://fonografiacollective.com"></a> <div class="logo"> <a title="Fonografia Collective" href="http://fonografiacollective.com"></a> <h1 class="hometitle"><a title="Fonografia Collective" href="http://fonografiacollective.com"></a> <a href="http://fonografiacollective.com/" title="fonografia collective">fonografia collective</a> </h1> </div>
由cor-el于
Thanks so much, Cor-el... that solved it!
You're welcome