Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Why is my layout all wrong until I log into my site?

  • 4 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 cor-el

more options

I have just upgraded from v3 to v4 of Firefox. Myself and other members are now having issues with the site layout.

If you use Firefox 4 and visit this site http://www.vwaudiforum.co.uk/forum/forum.php you should see the layout all wrong.... If you look in other browsers you will see what I mean.

Firefox 3 worked OK

I have just upgraded from v3 to v4 of Firefox. Myself and other members are now having issues with the site layout. If you use Firefox 4 and visit this site http://www.vwaudiforum.co.uk/forum/forum.php you should see the layout all wrong.... If you look in other browsers you will see what I mean. Firefox 3 worked OK

被采纳的解决方案

You have a lot of B tags that aren't closed. Firefox 4 is much less forgiving in such a case and places all following content in those B tags and that causes Firefox to ignore the </form>. So everything is in that form and that causes the CSS rule mentioned above to be applied. You need to make sure that all tags are closed properly.


<div align="center"><b> Do you own a VAG related repair business? 

定位到答案原位置 👍 0

所有回复 (4)

more options

Some of the elements have top and bottom padding in Firefox that they do not have in IE. There is a style rule that Firefox is applying to the forum rows that IE is not. The reason for the discrepancy is not obvious to me.

.notices li {

background: #fff0ae url(images/styles/GamerRed/style/noticeBG.gif) repeat-x left top;

font-size: 12px;

color: #4d5153;

padding:5px 10px;

margin-bottom:5px;

-moz-box-shadow: -2px 2px 2px ;

-webkit-box-shadow: -2px 2px 2px ;

box-shadow: -2px 2px 2px ;

text-align: left;

clear:both;

}

This forum focuses on end-user support. You can find more web development help on the mozillaZine Web Development board. Separate forum, separate registration. Please note the tips in the Sticky Post at the top of the forum before posting.

由jscher2000 - Support Volunteer于修改

more options

选择的解决方案

You have a lot of B tags that aren't closed. Firefox 4 is much less forgiving in such a case and places all following content in those B tags and that causes Firefox to ignore the </form>. So everything is in that form and that causes the CSS rule mentioned above to be applied. You need to make sure that all tags are closed properly.


<div align="center"><b> Do you own a VAG related repair business? 

由cor-el于修改

more options

Excellent, thank you for the help.... I have added </b> to the end of the line above, and it seems to have cured it :)

Never though 4 characters could cause the problem...

Stuart

more options

You're welcome.