Jump to content

Printer Friendly CSS


bärti

Recommended Posts

Since the last update I'm missing the embedded CSS Style "gmnoprint". I used it to suppress graphics in my cache descriptions. For example look at my cache Yabba Dabba Doo. When you have printed the description before the last update the graphic would not be printed.

 

Is it posible to include a new printer friendly CSS-Style like this?

 

<head>
  ...
  <Link rel="stylesheet" type="text/css" href="../printer.css" media="print">
  ...
</head>

 

printer.css

.gmnoprint {display: none;}

 

The coding in my description of Yabba Dabba Doo:

...
<TD width="380" align="center" valign="middle" class="gmnoprint">
<P align="center">
	<IMG src="http://img.geocaching.com/cache/09c40f9a-9e06-4e99-8037-35fcbe594a16.jpg" 
	width="350" height="352" border="0">
</P>
...

 

I think many users would be happy to use this CSS-Style.

 

Best regards

Stephan

Link to comment

I don't want to demand too much, but you could use the opportunity and add some .gmnoscreen or similar...

I know that many users won't use this feature, (the majority doesn't even know it) but there are some who work much on the cache descriptions and I think that they would use these features.

 

Regards, Earendil_Muc

Link to comment

Since the last update I'm missing the embedded CSS Style "gmnoprint". I used it to suppress graphics in my cache descriptions. For example look at my cache Yabba Dabba Doo. When you have printed the description before the last update the graphic would not be printed.

 

Is it posible to include a new printer friendly CSS-Style like this?

 

<head>
  ...
  <Link rel="stylesheet" type="text/css" href="../printer.css" media="print">
  ...
</head>

 

printer.css

.gmnoprint {display: none;}

 

The coding in my description of Yabba Dabba Doo:

...
<TD width="380" align="center" valign="middle" class="gmnoprint">
<P align="center">
	<IMG src="http://img.geocaching.com/cache/09c40f9a-9e06-4e99-8037-35fcbe594a16.jpg" 
	width="350" height="352" border="0">
</P>
...

 

I think many users would be happy to use this CSS-Style.

 

Best regards

Stephan

Just a thought....

 

Did you recently edit the page? Maybe HTML Tidy Stripped out your code? maybe?

Link to comment
Just a thought....

 

Did you recently edit the page? Maybe HTML Tidy Stripped out your code? maybe?

Do you mean the GC.com page? No, I don't edit this page. The following code is only an example to make the GC.com page more powerful.

 

<head>
  ...
  <script type="text/javascript" src="../includes/lightbox.js"></script>
  <link rel="stylesheet" href="../css/lightbox.css" type="text/css" media="screen" />
  <Link rel="stylesheet" type="text/css" href="../printer.css" media="print">
  ...
</head>

printer.css

.gmnoprint {display: none;}

or

.noprint {display: none;}

 

Before the last update it was possible to use class="gmnoprint" in the coding. Now it is not available.

 

My request to the web developers of GC.com is: Please include a new CSS-Style (media="print") like the example above.

 

Greetings from Germany

Stephan

Link to comment

I think the problem is that the CSS class gmnoprint was never implemented by Groundspeak. It was part of the Google Maps API but has been removed from it by now, leaving the task of suppressing maps in printing to the website developers ...

 

-nik

Link to comment

I can't see a way to do it.

 

There are links on the print-friendly view though, which allow the user to collapse images in either the long or short descriptions. Surely that provides users with the ability not to print big images if they don't want to?

Link to comment

I can't see a way to do it.

 

There are links on the print-friendly view though, which allow the user to collapse images in either the long or short descriptions. Surely that provides users with the ability not to print big images if they don't want to?

 

Well, several ways how to do it have been mentioned here. I stumbled upon this issue today whe ntrying to hide ***tbale rows*** in a printout, because I was working with background images.

 

It would be better to be able to hide any kind of element, not only images ...

 

-nik

Link to comment
Guest
This topic is now closed to further replies.
×
×
  • Create New...