[thelist] Printing style sheet colors in IE
rudy
r937 at interlog.com
Fri May 4 18:35:29 CDT 2001
>Can anyone suggest a fix for this
hi dominick
if you were looking to fix it so that IE would print all the colours
correctly, i'm sorry, i can't help you
otherwise, consider having a print version that contains no style sheet,
i.e. will print in black and white, guaranteed
you would do this by having a link on your page that goes to, um, the same
page, but carries a flag on it somehow, that tells it (itself, the, um,
same page) not to include the style sheet
did that make any sense at all?
you can do it with a server script (like php, cf, asp, xyz), or with server
side includes (there was a thread on this yesterday)
you could also use the @media=print attribute in your style sheet, but i
can't say how reliable that might be
you can even do it with javascript, i think, maybe using conditional
document.write statements to include/exclude the link to the style sheet,
although i don't know how you would set the variable and then reload the
page
anyhow, with this kind of switch you do not have to have two versions of
the same page, a style sheeted one and a plain one, so no maintenance
problem -- but for all intents and purposes it sure feels like you do
it's also a real quick solution
helps?
rudy.ca
More information about the thelist
mailing list