By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,487 Members | 1,067 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,487 IT Pros & Developers. It's quick & easy.

Content visible onlt to print stylesheets

P: n/a
Hi,

A website I work on has a print stylesheet to strip navigation and things out
of a page, and changes the fonts and various bits and pieces here and there.
What I'd also like is something small (a footer, perhaps) that says something
along the lines of 'you are viewing a printed version of [TITLE], available
at [url]'. I know I can do this by just adding the content and using display:
none for the screen CSS, but then it becomes visible in text browsers, which
I don't want. It would also have to work in IE, which means I couldn't use
the :before or :after pseudo-elements...

Is there any way to achieve this?

--
Hurewitz's Memory Principle:
The chance of forgetting something is directly proportional to ..... to
......... uh ..............
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"la_haine" <p.*****@kent.ac.uk> wrote in
comp.infosystems.www.authoring.stylesheets:
A website I work on has a print stylesheet to strip navigation and things out


http://www.cs.tut.fi/~jkorpela/usenet/xpost.html

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #2

P: n/a
Stan Brown <th************@fastmail.fm> wrote in
news:MP************************@news.odyssey.net:
"la_haine" <p.*****@kent.ac.uk> wrote in
comp.infosystems.www.authoring.stylesheets:
A website I work on has a print stylesheet to strip navigation and
things out


http://www.cs.tut.fi/~jkorpela/usenet/xpost.html


I cancelled this post immediately due to the typo in the subject line, and
re-posted it with the correct spelling - I guess your news server didn't
honour the cancel request. There wasn't any cross-posting involved.

--
'I'm not racist: I have to spend such a large amount of my time hating
individual people that piss me off that I have no time to hate entire groups
of people that I haven't met.'
- Jemaleddin Cole
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.