搜索 | 用户支持

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

详细了解

What is the maximum pixel height a div can be displayed? I have a long list and my bg div ends halfway down the page.

  • 2 个回答
  • 3 人有此问题
  • 1 次查看
  • 最后回复者为 jrobertsebd

more options
  1. bodyBG {
   background: url("../../includes/img/template/bg_trans.png") repeat-y scroll center top transparent;
   overflow: auto;
   padding: 5px 25px;
   margin: 0px;
   text-align: left;

}

My background image bg_trans.png is ending halfway down my html list. Why?

#bodyBG { background: url("../../includes/img/template/bg_trans.png") repeat-y scroll center top transparent; overflow: auto; padding: 5px 25px; margin: 0px; text-align: left; } My background image bg_trans.png is ending halfway down my html list. Why?

所有回复 (2)

more options

On Windows there might be a height limit of around 32000px.

  • bug 671302 - cairo-gdi: large background-images and gradients don't work beyond ~ 32735px

Please DO NOT comment in bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html

more options

Darn! My list is at 72k in FF 21.0 :(

Would re-displaying that BG for another 32735px work? Or is that just literally the maximum height that can be displayed?

Thanks for your help