Re: [css-d] Print styles problem
On 2006-03-12 at 05:24:17 [+0100], Roger Roelofs <[EMAIL PROTECTED]> wrote: > The css validator is your friend. Fix the errors and it will likely > work just fine. Actually removing the
Re: [css-d] Print styles problem
Charlie, On Mar 11, 2006, at 4:30 PM, Charlie Clark wrote: > On Sat, 11 Mar 2006 21:36:41 +0100, Roger Roelofs > <[EMAIL PROTECTED]> wrote: > >> I would expect that this would prevent any content in the sections >> #navigation, #header, #picture, #impressum from printing and this is >> exactly how Opera 8.5 works. Both Firefox 1.5 and IE 6.0, however, >> print >> the content of the navigation. > > the site is http://www.make-love-not-law.com The css validator is your friend. Fix the errors and it will likely work just fine. Actually removing the
Re: [css-d] Print styles problem
On Sat, 11 Mar 2006 21:36:41 +0100, Roger Roelofs <[EMAIL PROTECTED]> wrote: > I would expect that this would prevent any content in the sections > #navigation, #header, #picture, #impressum from printing and this is > exactly how Opera 8.5 works. Both Firefox 1.5 and IE 6.0, however, print > the content of the navigation. > We'll need a ulr to debug this. If the page isn't on a public server, > can you put up a test page? the site is http://www.make-love-not-law.com > Another question I have is: is there a good way of having dynamic > elements > in CSS? I have some keyvisuals for my website which I would like to make > section specific. > div#picture { > background: #F0EFDD url(/images/image.jpg) no-repeat; > } > I would like to have something like "portrait.jpg" for pages about a > person, "flower.jpg" for pages about flowers, etc. > Option 4: add a section specific id to the body tag and include it in > the css like so... > #picture { > background: #F0EFDD url(/images/image.jpg) no-repeat; > } > #person #picture { background-image: url(/images/portrait.jpg); } > #flower #picture { background-image: url(/images/flower.jpg); } That's an interesting suggestion which nearly does what I want. However, as you will see on the website even my keyvisuals are dynamic. Charlie __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- 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/
Re: [css-d] Print styles problem
Charlie, On Mar 11, 2006, at 9:41 AM, Charlie Clark wrote: > I have been struggling with setting up a print style sheet for a > website > and preventing some sections from printing. > >
[css-d] Print styles problem
Dear list, I have been struggling with setting up a print style sheet for a website and preventing some sections from printing. This is top of my stylesheet: