Pam,

Not sure exactly how you are going about doing this, but if it is a simple print stylesheet, why not just change the style for the banner div.

Right now you have:
#newbanner {
        background: url(/images/second_pbabannerB.jpg);
        width: 570px;
}

#banner, #nav, #footer, .noprint {
        display: none;
}

How about doing this instead:

#nav, #footer, .noprint {
        display: none;
}
#banner{
        background: url(/images/second_pbabannerB.jpg);
        width: 570px;
}

Maybe I am not understanding exactly how you are going about this. If this doesn't answer your question, how about posting a link to the site in question.

Hope that helps,

Tim Kadlec


Hi all --

I'm trying to write a print stylesheet where the original page's
banner is replaced with a smaller (width wise - to fit on a page with
one-inch L&R margins) banner when the page is printed.  So far I am
having no luck.  I can easily remove the banner from being printed
but can't seem to make it switch out.  Is there a way?

This is what I have so far -- where the orginal banner is set to not
print (which works) and the newbanner's id is put into a table cell
where I want it to print (which doesn't work).

#newbanner {
        background: url(/images/second_pbabannerB.jpg);
        width: 570px;
}

#banner, #nav, #footer, .noprint {
        display: none;
}
--------------------------------------------------------------------------------------

Thanks,
Pam

Pamela Corey
IT Specialist
Public and Business Affairs Office
National Institute of Standards and Technology (NIST)
301-975-2170

_________________________________________________________________
Find a local pizza place, movie theater, and moreĀ….then map the best route! http://maps.live.com/?icid=hmtag1&FORM=MGAC01

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to