|
|
#1 (permalink) |
|
New Member
![]() Join Date: Jul 2008
Posts: 4
|
Greetings -
My site (link in signature) has a slightly complex structure -- 7 areas over a background image, and the background resizes to fit the browser size. What I'd like to do is create a print.css file that omits the background image when the site is printed. Can anyone provide sample stub code or point me to a useful tutorial? And where is the print.css file supposed to reside? public_html? public_html/style? wherever the relevant .htm file is? Thanks kindly. - Richard
__________________
http://oldwithoutmoney.com Last edited by expatCanuck; 08-26-2008 at 09:57 PM. |
|
|
|
|
|
#2 (permalink) |
|
Moderator
![]() Join Date: Jun 2008
Posts: 365
|
Two points:
1) I don't think you'll have to do anything to achieve this, I have a feeling that most browsers won't print background images anyway (I haven't test this in a while so I am not 100% sure). 2) use the "media" parameter like this: Code:
<link rel="stylesheet" type="text/css" href="print.css" media="print" /> HTH, JC |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|