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

  • Home
  • SEARCH
  • 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 8622935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:10:05+00:00 2026-06-12T07:10:05+00:00

My website is working fine but when I click on File > print on

  • 0

My website is working fine but when I click on File > print on browser (its browser print preview) all the CSS is messed and background color is replace with white spaces and not getting logo on preview page.

So how I create a CSS file for print preview and how I call when user click on print.

  • 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-12T07:10:07+00:00Added an answer on June 12, 2026 at 7:10 am

    You need to provide your markup that for what you are having this error for..

    Info : Browser default never prints background color, you need to enable that option in your browser..

    Just in case if you are using

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

    Than replace this with media=screen, print so that it will apply rules to your website as well as printing..

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

    You can also use print specific stylesheet like this :

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

    You can also use print specific @media queries

    @media print {
     /* Whatever */
    }
    

    Last but not the least to enable printing in your browser :

    Firefox : Click on alt(if your browser menu bar is hidden) – File – Page Setup – Tick Print Background

    Chrome : To enable printing in chrome use this CSS property -webkit-print-color-adjust:exact;

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

Sidebar

Related Questions

I am using ASP.NET repeater function. Its working fine. But here all the comments
I followed this link to gzip my php driven website It's working fine but
My website is working fine on IE, but when I open it on Firefox,
I am using jquery in my asp.net website. It was working fine in my
The logo on my friends website is working properly in all browsers yet when
The website I am working on has a repeating background pattern applied to the
I've made a chat application for a website. Everything is working fine, however, I
I wrote a login panel for my website and everything looks fine but when
My OOB app was working fine. I stupidly renamed all my namespaces and my
My cookie is working fine i m not mentioning date so when the browser

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.