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!

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Columns Not Printing in Firefox (2 become 1)

  • 6 ردود
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه 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?

Modified by SaraChicaD

الحل المُختار

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

Read this answer in context 👍 0

All Replies (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!

Modified by SaraChicaD