Print CSS Not Loading

Print CSS Not Loading

am 20.09.2007 18:18:33 von william.oram

I have two CSS files for print and screen. In screen.css:

..screen
{
font-weight:bold;
font-size:12px;
}

..print
{
visibility:hidden;
}

In the HTML:



>
href="screen.css" />


Text A
Text B font>

[etc.]

In print.css, the parameters are swapped. In other words, Text B will
show on the printed page, but not on screen, and vice-versa for Text
A.

But as it stands now, it's not quite working. On "screen," it looks
OK; hidden text is hidden, shown text is shown. When printed in
Firefox 2, though, the output looks no different from on "screen." I'm
stumped why this is, and so is everyone else I've shown this to. Any
ideas?

Re: Print CSS Not Loading

am 20.09.2007 18:40:14 von Bergamot

william.oram@gmail.com wrote:
> I have two CSS files for print and screen.
> But as it stands now, it's not quite working.
> Any ideas?

Post a URL, not code.

If you expect assistance, only seeing it on the server will do.

--
Berg

Re: Print CSS Not Loading

am 20.09.2007 19:00:17 von william.oram

It figures: I spend days on the problem, then I solve it minutes after
posting it to a newsgroup. I was prepping the HTML for public viewing
when I identified the problem, which was ASP-related and not an HTML
gaffe.

Will

On Sep 20, 11:40 am, Bergamot wrote:
> william.o...@gmail.com wrote:
> > I have two CSS files for print and screen.
> > But as it stands now, it's not quite working.
> > Any ideas?
>
> Post a URL, not code.
>
> If you expect assistance, only seeing it on the server will do.
>
> --
> Berg

Re: Print CSS Not Loading

am 20.09.2007 19:03:39 von a.nony.mous

william.oram@gmail.com wrote:

> I have two CSS files for print and screen.

Look for answers in c.i.w.a.h, where you multi-posted this same
question.

Please do not multi-post; crosspost only if necessary. Thanks.
http://oakroadsystems.com/genl/unice.htm#xpost

--
-bts
-Motorcycles defy gravity; cars just suck