Solved

Printing Page Help - CSS/DIV

Posted on 2011-03-18
3
238 Views
Last Modified: 2012-05-11
Hi - I have a page I would like to print but currently when printing the whole page is blank.

I have a div called WharehouseMap that has uses a background image to display a map.  Within that div is another div called  WWA that has a background color of red.  I would like both the map and the WWA div with the red background to showup on the printout.

How can I do this?
CSS
---------------------------------------------

div#WarehouseMap
{
    position: relative;
    background-image: url('Warehouse_Floor_Plan.jpg');
    background-repeat: no-repeat;
    height: 600px;
    width: 681px;
}

div#WWA
{
    position: absolute;
    height: 48px;
    width: 17px;
    left: 116px;
    top: 495px;
    background-color: #FF0000;  /*  RED  */
}


ASPX PAGE
---------------------------------------------

<div id="WarehouseMap">
    <div id="WWA" runat="server"></div>
</div>

Open in new window

0
Comment
Question by:cdemott33
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
rucky544 earned 500 total points
ID: 35166542
There is normally a setting in the browser that tells it to print backgrounds, this will need to be ticked for the back grounds to show on a print out.
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 35166552
In the page itself, in the link for the CSS, do you specify a media property?
0
 

Author Closing Comment

by:cdemott33
ID: 35190254
This worked.  Thank you
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question