Hey all,
First off, frames - eww. I know. It's an internal site, so please don't tell
me to ditch the frames. We like them for what they're being used for.
That said, my users like to print just one frame, but it's a little bit
irritating to have to remember to choose "print only selected frame" in the
print dialog boxes. I've been messing with CSS media to try to not print the
menu frame. It's not going as well as I'd hoped. Can anyone help?
Here's what I have:
In the left frame, which should not print:
@media print {
body {
display: none;
}
}
In the frameset:
@media print {
#leftFrame {
display: none;
}
}
Problem: In IE, there is still a large left-side blank where the frame
content would be if it were shown. I want it collapsed so there is only the
typical page margin.
In Firefox/Netscape/Mozilla, there is the the large blank, plus it is
surrounded by a black outline.
What gives? Why can't I just tell it not to print the frame?
(I also tried setting the widths of the body, the frame, etc, to 0; no
good...)
--
--
~kaeli~
Cthulhu saves our souls and redeems them for valuable
coupons later.
http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace