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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:12:17+00:00 2026-06-05T08:12:17+00:00

I have built a calculator using FancyBox cash flow forecast (hit view forecast). Now

  • 0

I have built a calculator using FancyBox cash flow forecast (hit view forecast). Now I’ve made it I have hit a problem, how to print the contents of the Fancybox. Ideally I would just like the user to hit print in their browser and it prints the contents of the Fancybox. But I just can’t find or work out a solution.

Alternatively, giving the user the option to print when they are viewing the contents of the Fancybox via an icon would be great.

I have tried to set-up both options but failing miserably. Any ideas? Thank you

I have tried pure CSS. The best attempt was this:

    @media print {
body * {
display: none!important;
background: none!important;
}
body {
background: none!important;
}
#fancybox-wrap, #fancybox-wrap * {
display: block!important;
top: 0!important;
left: 0!important;
}
#fancybox-title, #fancybox-close {
display: none!important;
}
}

The problem is that the table layout doesn’t work.

  • 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-05T08:12:19+00:00Added an answer on June 5, 2026 at 8:12 am

    This worked:

        @media print 
       { 
           body * { visibility: hidden; } 
           #fancybox-content * { visibility: visible; } 
           #fancybox-content {position:fixed; top: 5px; left: 5px; } 
       } 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have built a website(asp.net): http://avior-ins.co.il/ I can view the site on my computer(I
I have built a mobile app using Rhomobile, jQuery Mobile and Google Maps API.
I have built a simple Android application to solve an annoying problem. Whenever you
I have built a free version of a game app which is now on
I have a requirement such that I need to add two integers using built
I have built a webpage, splashcreen.html , that when someone loads index.php will automatically
I have built a voucher website, where each voucher has a countdown timer. When
I have built a table which on of it's row is like so <tr
I have built a windows service to populate a database with my email inbox
I have built a very naive parallel ssl acceptor. -module(multiserver). -export([start/0,client/1]). %% This is

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.