On May 30, 2009, at 2:48 AM, John Middleton wrote: > I'm having a puzzling CSS print issue I'd like some input on, if > some of > you don't mind assisting. > I have this HTML document online at: > <http://www.ncddr.org/kt/products/ktintro/>. > > When I print or print-preview the CSS ID image repeats on every > printed > page (if BG images are set to print via the browser). > Well at least they do for Mac OS X 10.5 Firefox 3, & Safari. > > What can I do so this background image is displayed only once, like it > is displayed in HTML? > > #mainboxcover { padding: 0px 0px 10px 0px; border: 1px groove > #175c93; background-image: > url(/kt/products/ktintro/images/cover.jpg); background-repeat: > no-repeat; background-position: top; background-color: #FFFFFF; }
Sounds like yet another print-bug in Gecko. I can't reproduce that issue in Safari (tested: 3.04, 4b and nightly build - 10.5.7 with 2 different postscript printers ). Opera 10a print-preview doesn't repeat the image either. Note: I only tried to print-to-pdf, didn't want to damage trees. I don't see much of a workaround, except , maybe, put the background- image in an absolute positioned div behind #mainboxcover, with negative z-index. Kind of ugly construction, though. Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
