Hello there.

I am using Garland Fluid width theme, but I would like the print module to not print any images on the page. It should not matter which theme is used, as print is meant to work with all modules. However, my css skills are low these days. Any ideas how to make it a completely text print.css i.e. to remove all images? Css code please to add to the print module for NO images...

Here is the code at the moment

body {margin: 1em;background-color: #fff;}
th {text-align: left;color: #006;border-bottom: 1px solid #ccc;}
tr.odd {background-color: #ddd;}
tr.even {background-color: #fff;}
td {padding: 5px;}
#menu {visibility: hidden;}
#main {margin: 1em;}


a:link {color: #000;}
a:visited {color: #000;}
a:hover {color: #00f}
a:link img, a:visited img {border:0}

.print-footnote {font-size:small;}
.print-logo {border:0;}
.print-site_name {}
.print-title {font-size:200%;font-weight: bold;margin:0.67em 0 0.67em 0}
.print-submitted {}
.print-created {}
.print-content {}
.print-hr {border:0;height:1px;width:100%;color:#9E9E9E;background-color:#9E9E9E;}
.print-source_url {}
.print-links {font-size:small;}
.print-footer {}

Larry

Comments

dgorton’s picture

img { display: none; }

That should do the trick nicely. Make sure that this is in a separate stylesheet (e.g. print.css) that is included with the appropriate 'media=print' parameter:

<style type="text/css" media="print">@import "/print.css";</style>

Drew Gorton
Gorton Studios