HighDots Forums  

Friendly Print Using CSS - How?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Friendly Print Using CSS - How? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
oicram
 
Posts: n/a

Default Friendly Print Using CSS - How? - 08-04-2004 , 01:19 AM






Hello,

I have created and edited a .css file and add the 'media="print"> to the
stylesheet,

And when I apply a style with the parameter Display: none; It was supose to
not show on the print page, but show on the Screen. Right? What happens, is,
when I do that, the button (a form button) disappears, from the print... right,
but also from the screen! How can I make it desapear only for the print version?

What I'm doing wrong? Do I need to .CSS one to tell "Show on the screen" and
another one to tell "hide on the print"?
If so, how can I acomplish that?

Thanks in advance,
Talofo


Reply With Quote
  #2  
Old   
Jamie K.
 
Posts: n/a

Default Re: Friendly Print Using CSS - How? - 08-04-2004 , 10:30 AM






Check out:

http://www.meyerweb.com/eric/articles/webrev/200001.html

And

http://www.alistapart.com/articles/goingtoprint/


in article ceprku$7rf$1 (AT) forums (DOT) macromedia.com, oicram at
webforumsuser (AT) macromedia (DOT) com wrote on 8/4/04 1:19 AM:

Quote:
Hello,

I have created and edited a .css file and add the 'media="print"> to the
stylesheet,

And when I apply a style with the parameter Display: none; It was supose to
not show on the print page, but show on the Screen. Right? What happens, is,
when I do that, the button (a form button) disappears, from the print...
right,
but also from the screen! How can I make it desapear only for the print
version?

What I'm doing wrong? Do I need to .CSS one to tell "Show on the screen" and
another one to tell "hide on the print"?
If so, how can I acomplish that?

Thanks in advance,
Talofo




Reply With Quote
  #3  
Old   
Randy Edmunds
 
Posts: n/a

Default Re: Friendly Print Using CSS - How? - 08-04-2004 , 10:44 AM



Here's an extension that allows you to view and edit pages for any media
type:

http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn201&extid=1008220

This should save you some time.

It sounds like "display:none" was applied to a style outside your
"print" style sheet.

Hope this helps,
Randy


Quote:
I have created and edited a .css file and add the 'media="print"> to the
stylesheet,

And when I apply a style with the parameter Display: none; It was supose to
not show on the print page, but show on the Screen. Right? What happens, is,
when I do that, the button (a form button) disappears, from the print... right,
but also from the screen! How can I make it desapear only for the print version?


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.