Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 11:49 PM
la_haine
Guest
 
Posts: n/a
Default Content visible onlt to print stylesheets

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 ..............
  #2  
Old July 20th, 2005, 11:49 PM
Stan Brown
Guest
 
Posts: n/a
Default Re: Content visible onlt to print stylesheets

"la_haine" <p.haine@kent.ac.uk> wrote in
comp.infosystems.www.authoring.stylesheets:[color=blue]
>A website I work on has a print stylesheet to strip navigation and things out[/color]

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/
  #3  
Old July 20th, 2005, 11:49 PM
la_haine
Guest
 
Posts: n/a
Default Re: Content visible onlt to print stylesheets

Stan Brown <the_stan_brown@fastmail.fm> wrote in
news:MPG.1b2a416de452497e98c522@news.odyssey.net:
[color=blue]
> "la_haine" <p.haine@kent.ac.uk> wrote in
> comp.infosystems.www.authoring.stylesheets:[color=green]
>>A website I work on has a print stylesheet to strip navigation and
>>things out[/color]
>
> http://www.cs.tut.fi/~jkorpela/usenet/xpost.html[/color]

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
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles