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 9112965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T03:51:40+00:00 2026-06-17T03:51:40+00:00

I was under the assumption that a print stylesheet would not get loaded when

  • 0

I was under the assumption that a print stylesheet would not get loaded when in the “screen” context, however, the stylesheet is still loading in Chrome (windows). Is this a bug, am I tripping, or is my assumption incorrect that “print” should not load?

chrome screenshoot

Here is my html:

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

Using Chrome 24.0.1312.52 m (latest)

  • 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-06-17T03:51:41+00:00Added an answer on June 17, 2026 at 3:51 am

    This is not a bug. When you link to a stylesheet in the DOM it will make a server request and download it. The media=screen, media=print etc are conditions that apply ONLY to the styles inside the stylesheet – so you will never see your print.css styles applied on your screen (and vice-versa). It will not prevent your stylesheet from being loaded though. Now some browsers are known to defer the loading when you specify media=print, so that your page renders first and then the print.css is loaded – but not all browsers do that.

    This blog entry here by Crisp, explains how you can lazy-load your print stylesheet using javascript. This makes it so that it loads only when the user needs to print, unfortunately the method he uses (the window.onbeforeprint is only supported in IE and Firefox – http://www.w3schools.com/tags/ev_onbeforeprint.asp).

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

Sidebar

Related Questions

I am currently working under the assumption that -performSelector:withObject:afterDelay: does not utilize threading, but
I'm not much of a C programmer, but I was under the assumption that
I was under the assumption that an anonymous user cannot send a presence stanza
I have been under the assumption for a while that viewDidUnload is always called
I'm under the assumption that INT(1) is the exact same thing as TINYINT(1) but
I had been programming under the assumption that, when calling a method in C#
I'm developing an indie video game, and have been operating under the assumption that
I was under the assumption that REST was a web service but it seems
I've been working under the assumption that neither Date nor Calendar are thread-safe, but,
I have been using a TSQL trigger under the assumption that the inserted table

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.