Link to home
Start Free TrialLog in
Avatar of cdemott33
cdemott33Flag for United States of America

asked on

Printing Page Help - CSS/DIV

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

ASKER CERTIFIED SOLUTION
Avatar of rucky544
rucky544
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Paul MacDonald
In the page itself, in the link for the CSS, do you specify a media property?
Avatar of cdemott33

ASKER

This worked.  Thank you