Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-02 14:20:18

davvi
Member
Registered: 2007-07-28
Posts: 24

print css

I use this css for printing, but the images are still been printes out. How can I stop the img being printes out?

body, p, td, th, ul, a {
background-color: #fff;
color: #000;
font-family: “Times New Roman”, Garamond, serif;
font-size: 12pt;
}

#content, #valg, #wrapper, #img {
background-color: #fff;
width: 100%;
border: none;
}

#img{
background-color: #ffffff;

}

Offline

#2 2007-12-02 14:21:19

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: print css

#img {display:none}

Offline

#3 2007-12-02 15:22:09

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: print css

er not #img {display:none} – maybe removing the id from it, if the images haven’t the id setted. So you could use:

img {
	display: none;
	}

Instead. But if you images have that specific id, so it’s good to go.

Cheers!

Last edited by Gocom (2007-12-02 15:22:47)

Offline

#4 2007-12-02 15:47:10

davvi
Member
Registered: 2007-07-28
Posts: 24

Re: print css

thanks, I removed the # at it is working fine!

Offline

Board footer

Powered by FluxBB