搜索 | 用户支持

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

详细了解

Fractured page layout on 64-bit Firefox 30

  • 4 个回答
  • 1 人有此问题
  • 4 次查看
  • 最后回复者为 abitmuch

more options

After upgrading to Firefox 30, one of my websites isn't rendering properly.

I'm running two almost identical dotnetnuke sites (http://www.drawingworkshop.com/ , http://arthouse.tc/arthouse/ ) with the same host. Drawingworkshop.com will not render properly in Firefox 30 on 64-bit Vista, but arthouse.tc is OK. Trying to track down the problem, I called the host (godaddy), and the guy I talked to was able to see the problem on his browser; I don't know what system he was using. It looks like a style sheet issue, so I installed the stylesheet from arthouse.tc into the drawingworkshop site, and still no go. The site works fine in IE, Chrome, Safari, and on my android phone. Many of my visitors use Firefox, so I need to find a website fix that will allow them to see the site properly. Thanks.

After upgrading to Firefox 30, one of my websites isn't rendering properly. I'm running two almost identical dotnetnuke sites (http://www.drawingworkshop.com/ , http://arthouse.tc/arthouse/ ) with the same host. Drawingworkshop.com will not render properly in Firefox 30 on 64-bit Vista, but arthouse.tc is OK. Trying to track down the problem, I called the host (godaddy), and the guy I talked to was able to see the problem on his browser; I don't know what system he was using. It looks like a style sheet issue, so I installed the stylesheet from arthouse.tc into the drawingworkshop site, and still no go. The site works fine in IE, Chrome, Safari, and on my android phone. Many of my visitors use Firefox, so I need to find a website fix that will allow them to see the site properly. Thanks.

被采纳的解决方案

The console was helpful and interesting; thanks. I identified the problem as Firefox 30 was adding 40 pixels or so of space above the ads, which was pushing the rest of the layout around, very conspicuously in the case of drawingworkshop.com. I did a bunch of troubleshooting and found the culprit:

  1. dnn_TopBanners a {

margin-left:1px; margin-right:1px; margin-top:0px; margin-bottom:0px; }

I put this in the original stylesheet to fix an inconsistency in which one browser's rendering of the banner didn't match the others'. I zeroed the margins and padding and it looks fine now. Evidently the anchor tags were putting the squeeze on the ad content and causing it to jump a line within the link. There was plenty of width in the topbanner div for the ads; it may be that Firefox 30 couldn't stretch the link to accommodate a margin. Thanks for the help!

定位到答案原位置 👍 0

所有回复 (4)

more options

Maybe you use/clear floats differently in #dnn_TopBanners on the two pages?

#MainSection {clear:both;} 

helps.

more options

You may also want to review the issues in the Browser Console for that page.

Ctrl+Shift+j will open it up, the I suggest clicking the Clear button and reloading your page to get a fresh error list.

more options

I'll check it out. Thanks!

more options

选择的解决方案

The console was helpful and interesting; thanks. I identified the problem as Firefox 30 was adding 40 pixels or so of space above the ads, which was pushing the rest of the layout around, very conspicuously in the case of drawingworkshop.com. I did a bunch of troubleshooting and found the culprit:

  1. dnn_TopBanners a {

margin-left:1px; margin-right:1px; margin-top:0px; margin-bottom:0px; }

I put this in the original stylesheet to fix an inconsistency in which one browser's rendering of the banner didn't match the others'. I zeroed the margins and padding and it looks fine now. Evidently the anchor tags were putting the squeeze on the ad content and causing it to jump a line within the link. There was plenty of width in the topbanner div for the ads; it may be that Firefox 30 couldn't stretch the link to accommodate a margin. Thanks for the help!