Need help with printer friendly template.

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
xxkinetikxx
New Member
New Member
Posts: 4
Joined: Mon Jun 30, 2008 7:17 pm

Need help with printer friendly template.

Post by xxkinetikxx »

Hello all,


I'm working on a site for a friend & the site uses white text on a dark green background.

When we use the printer icon embedded into the site it only shows any pictures that may be around content. Upon further inspection I've found the text is simply hiding as it's white against a white background. Any idea how to make the text black?


Thanks in advance.
User avatar
tannos
Forum Members
Forum Members
Posts: 109
Joined: Mon Apr 21, 2008 3:50 pm

Re: Need help with printer friendly template.

Post by tannos »

Hi,

Printers don’t print white  ;D


More seriously do this:

in your  a css template use this:

Code: Select all

body {	
	background: #FFFFFF; !important;
}
	
#content {
	width: auto; 
	margin: 0 2%;	
          padding: 0; 
	border: none;
	color: #000000; 
	background: transparent;
	}
edit: This code also remove any background images
Last edited by tannos on Mon Jul 07, 2008 3:47 am, edited 1 time in total.
One thing only I know, and that is that I know nothing.
xxkinetikxx
New Member
New Member
Posts: 4
Joined: Mon Jun 30, 2008 7:17 pm

Re: Need help with printer friendly template.

Post by xxkinetikxx »

Thank you for your reply but it did not resolve my issue. Is there a possibility I messed something up in the template?
User avatar
tannos
Forum Members
Forum Members
Posts: 109
Joined: Mon Apr 21, 2008 3:50 pm

Re: Need help with printer friendly template.

Post by tannos »

did you define the media type in your css on print?
One thing only I know, and that is that I know nothing.
Post Reply

Return to “Layout and Design (CSS & HTML)”