Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 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 於 修改