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).

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

@media print problem with firefox

  • 3 απαντήσεις
  • 1 έχει αυτό το πρόβλημα
  • 3 προβολές
  • Τελευταία απάντηση από user1242162

more options

I am using the latest version of firefox and in my local drupal page I am working on has @media print rules as inline styles. This @media rule works fine both IE (to my surprise) and chrome but firefox doesn't seem to notice it at all.

What is the underlying issue here because I have tried many different techniques and none of them work with firefox. I would like to know how does firefox browser perceive @media print rule compared to chrome/IE.

In my webpage, I am using bootstrap css and its @media rule are causing issues. But as soon as I apply @media print rule, it works fine both in IE/Chrome but not in firefox.

Any help or clarification is appreciated. Thank you.

I am using the latest version of firefox and in my local drupal page I am working on has @media print rules as inline styles. This @media rule works fine both IE (to my surprise) and chrome but firefox doesn't seem to notice it at all. What is the underlying issue here because I have tried many different techniques and none of them work with firefox. I would like to know how does firefox browser perceive @media print rule compared to chrome/IE. In my webpage, I am using bootstrap css and its @media rule are causing issues. But as soon as I apply @media print rule, it works fine both in IE/Chrome but not in firefox. Any help or clarification is appreciated. Thank you.

Όλες οι απαντήσεις (3)

more options

Beyond the scope of this forum which is for end-user Firefox support. https://support.mozilla.org/en-US/kb/where-go-developer-support

If you can provide a link to a live webpage, someone here can most probably help you. Of if to could post the HTML code for a sample page here - http://pastebin.mozilla.org/ - one of use might be able to help.

more options

Many sites successfully use @media print{} in Firefox.

If you check the Browser Console for style warnings (Ctrl+Shift+j), can you sport anything that might be causing Firefox not to parse that part of your inline style sheet or have you already ruled that out as a problem?

more options

Thanks for your suggestions. I am not in the position at the moment to post the code but I was wondering if there was something different about how firefox perceives some things (in this case, @media print rule).

Thanks again and I will try to follow this up in the right place in future.