Print CSS Not Loading

W

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:

<html>
<link rel="stylesheet" type="text/css" media="screen"
href="screen.css" />
</head>
<body>
<font class="screen">Text A</font><br><font class="print">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?
 
B

Bergamot

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.
 
W

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
474,471
Messages
2,571,826
Members
48,797
Latest member
PeterSimpson
Top