HighDots Forums  

Wrong I?

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


Discuss Wrong I? in the Cascading Style Sheets forum.



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

Default Wrong I? - 03-06-2008 , 11:31 AM






Hi at all

I have a table that have some normal <td> and others <td> with a class "out"
like <td class="out">

I want to make black background-color and white color when the <td> is <td
class="out"> when I print the table and yellow background-color and black
color on screen

I have a little css file for media="print" that I call with:

<link rel="stylesheet" type="text/css" media="print" href="print.css" />

it contein a single line:



..out {color:white;

background-color:black;}

but it print like on screen and it ignore the media print css file

Please can you help me to do some thing?

best regards



Reply With Quote
  #2  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: Wrong I? - 03-06-2008 , 11:36 AM






On Thu, 6 Mar 2008, Paolo wrote:

Quote:
I have a table

I have a little css file
Give the address (URL) of your HTML and CSS documents!

--
In memoriam Alan J. Flavell
http://groups.google.com/groups/sear...Alan.J.Flavell


Reply With Quote
  #3  
Old   
rf
 
Posts: n/a

Default Re: Wrong I? - 03-06-2008 , 04:22 PM




"Paolo" <Paolop (AT) nospam (DOT) com> wrote

Quote:
Hi at all

I have a table that have some normal <td> and others <td> with a class
"out" like <td class="out"

I want to make black background-color and white color when the <td> is <td
class="out"> when I print the table and yellow background-color and black
color on screen

I have a little css file for media="print" that I call with:

link rel="stylesheet" type="text/css" media="print" href="print.css" /

it contein a single line:



.out {color:white;

background-color:black;}

but it print like on screen and it ignore the media print css file
By default browsers do not print background.

--
Richard.




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.