HighDots Forums  

Want Print CSS to simply disable all styles

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Want Print CSS to simply disable all styles in the Cascading Style Sheets forum.



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

Default Want Print CSS to simply disable all styles - 03-22-2006 , 09:33 PM






Hi,

I've designed a site at
http://www.welsh-kitchens.com

When all styles are disabled it looks like this
http://www.welsh-kitchens.com/index-nocss.shtml

I've tried creating a printing Style Sheet by using "display:none" for
various parts but the results have been dismal. I've decided I'd like
simply to disable all styles for the printing version for now at least.

How can I disable all screen styles for a print style sheet without
explicitly giving them all different values in a Print CSS?

Thanks,

Jeremy


--
~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeremy Clulow,
Webs Wonder Design
www.webswonder.co.uk
jeremy (AT) websNOSPAMwonder (DOT) co.uk

~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply With Quote
  #2  
Old   
Mark Parnell
 
Posts: n/a

Default Re: Want Print CSS to simply disable all styles - 03-22-2006 , 10:13 PM






Deciding to do something for the good of humanity, Jeremy Clulow
<jeremy (AT) websNOSPAMwonder (DOT) co.uk> declared in
comp.infosystems.www.authoring.stylesheets:

Quote:
How can I disable all screen styles for a print style sheet without
explicitly giving them all different values in a Print CSS?
You've got it backwards - just specify that your screen stylesheet only
applies to screen (and any others desired).

E.g.
<link rel="stylesheet" type="text/css" href="stylesheet.css"
media="screen,projection">

Or if you prefer, in the stylesheet:
@media screen,projection {
...styles here...
}

--
Mark Parnell

Now implementing http://blinkynet.net/comp/uip5.html


Reply With Quote
  #3  
Old   
Jeremy Clulow
 
Posts: n/a

Default Re: Re: Want Print CSS to simply disable all styles - 03-23-2006 , 01:15 AM



Mark,

Many thanks. I really am a plonker.

I always know that when I finally resort to posting a NG having failed to
find a solution via an extensive Search Engine, I am about to humiliate
myself.

I've done it again. If God is listening, perhaps he would wind back time 6
hours and give me a change to save my blushes.

Cheers,

Jeremy


On Thu, 23 Mar 2006 15:13:59 +1100, Mark Parnell
<webmaster (AT) clarkecomputers (DOT) com.au> wrote:

Quote:
| Deciding to do something for the good of humanity, Jeremy Clulow
| <jeremy (AT) websNOSPAMwonder (DOT) co.uk> declared in
| comp.infosystems.www.authoring.stylesheets:
|
| > How can I disable all screen styles for a print style sheet without
| > explicitly giving them all different values in a Print CSS?
|
| You've got it backwards - just specify that your screen stylesheet only
| applies to screen (and any others desired).
|
| E.g.
| <link rel="stylesheet" type="text/css" href="stylesheet.css"
| media="screen,projection"
|
| Or if you prefer, in the stylesheet:
| @media screen,projection {
| ...styles here...
| }
--
~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeremy Clulow,
Webs Wonder Design
www.webswonder.co.uk
jeremy (AT) websNOSPAMwonder (DOT) co.uk

~~~~~~~~~~~~~~~~~~~~~~~~~~


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 - 2008, Jelsoft Enterprises Ltd.