Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7413089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:38:30+00:00 2026-05-29T06:38:30+00:00

I have this rule which says use this CSS rule ONLY FOR PRINTING. @media

  • 0

I have this rule which says “use this CSS rule ONLY FOR PRINTING.

@media print {
    .yui-dt-bd {
        width: 920px !important;
        height: 100% !important;
        page-break-before: avoid !important;
        overflow: visible !important;
        position: static !important;
    }
}

The link-to-CSS-file with media-specification shows the same result, by the way:

<link rel="stylesheet" type="text/css" href="print.css" media="print" />

However, what do I see when I debug my page with the IE8 dev. tool (F12)? It applies those rules to the page (media=screen)!

I looked long and hard but found nothing on the web, only the “IE ignores this or that”, which is the opposite of MY problem.

IE dev. tool window says: “Browser Mode: IE7, Document Mode: IE7 Standards”. I don’t use any @import statement anywhere (this was an issue in some other IE CSS questions I found so I mention it). All 5 rules (above) are applied (on the screen media).

EDIT: Updated and follow-up question merged into this one.

EDIT: This is not a CSS3 media query, which is of course not supported by IE8 and below. This is media dependent CSS. I did not find anything conclusive, but it seems that THIS SHOULD work, as long as I don’t use CSS3 media query features, which seem not to include THIS example.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T06:38:32+00:00Added an answer on May 29, 2026 at 6:38 am

    IE8 and below do not support media queries, so your issue might be related to an unclosed tag or conditional comment somewhere in your css or page. Run a CSS linter or validate your css to see if you catch any tags that might need closing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this rewrite rule RewriteEngine On RewriteBase /location/ RewriteRule ^(.+)/?$ index.php?franchise=$1 Which is
I have this rule in my .htaccess: RewriteRule ^build_system/([^/]+)/([^/]+)/([^/]+)/?$ /po_systems/build_system.php?business_id=$1&system_id=$2&quantity=$3 Which works great for
Is it possible to have a CSS rule which basically undoes a prior rule?
CSS has a @font-face rule which allows us to use custom fonts. Does JavaScript
I have this rule: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !index.php RewriteRule ^(.*)$ index.php?req=$1
I have this registration form which is then validated using "bassistance's" validate.js: $('#pForm').validate({ rules:
There's a rule that says Only mock objects that you own. I think I
I have this rewrite rule... Redirect all initial request from world.example.com to web.example.com RewriteCond
I have this validation rule in CodeIgniter: 'bookForm' => array( array( 'field' => 'title',
I have this function which calculates some value based on multiple slots of multiple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.