搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Columns Not Printing in Firefox (2 become 1)

  • 6 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 SaraChicaD

more options

I have a div with 2 divs inside of it, each with a ul of content, so it looks like two columns in the view. I'm using window.print and css to print these out, Chrome and Safari work fine, but Firefox is turning the 2 columns into 1.

I've tried column-count, column-fill, float (left/right for diff divs), min-width: 0 / min-height: 0, and I can't seem to get the 2 columns to appear.

Anyone have any other suggestions for how to get this to work?

I have a div with 2 divs inside of it, each with a ul of content, so it looks like two columns in the view. I'm using window.print and css to print these out, Chrome and Safari work fine, but Firefox is turning the 2 columns into 1. I've tried column-count, column-fill, float (left/right for diff divs), min-width: 0 / min-height: 0, and I can't seem to get the 2 columns to appear. Anyone have any other suggestions for how to get this to work?

由 SaraChicaD 於 修改

被選擇的解決方法

Do you have a sample web page where we can check that out?

從原來的回覆中察看解決方案 👍 0

所有回覆 (6)

more options

選擇的解決方法

Do you have a sample web page where we can check that out?

more options

Hi the-edmeister it's hard to create a sample because everything is compiled I've tried everything at this point just super desperate lol thx.

more options

Also I keep trying to post images and stuff on here and they never get saved? The platform isn't super helpful. :(

more options

See this support article. How do I create a screenshot of my problem? It is best to use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed a maximum file size of 1 MB.

Then use the Browse .... button below the Post a Reply text box to upload the screenshot.

more options

thx the-edimeister, here are the images. the one column is firefox, the 2-col is chrome (& safari).

more options

So the answer the-edmeister was that min-width was squeezing the content into weird shapes. i set min-width: 0px; and then set a width of like 500px and the content came out fine. this was such a weird but -- thanks for yoru help!

由 SaraChicaD 於 修改