~~~ Please read before posting. ~~~
Important: We need your Club Number at a minimum, and as many details as possible.
For further info please read
This page
before posting.
A technical HTML question...
- SteveTheTechie
-
Topic Author
- Offline
- Administrator
-
- Posts: 11526
- Thanks: 3050
A technical HTML question...
13 years 2 weeks ago - 13 years 2 weeks ago
Does anyone know how to set up an image to ***not*** print on a page?
I would like to put an image of a button with the caption PRINTING TIPS in my Agenda Header.
I would like to link this button image to an uploaded file containing printing tips for my club's members.
The file would contain suggestions for using page scaling for controlling font size, for example.
The catch is, of course, that I really do not want the "button" to print with each agenda.
Is their some way to set a Span or Div style (or other method) on the image so that it does not print?
I would like to put an image of a button with the caption PRINTING TIPS in my Agenda Header.
I would like to link this button image to an uploaded file containing printing tips for my club's members.
The file would contain suggestions for using page scaling for controlling font size, for example.
The catch is, of course, that I really do not want the "button" to print with each agenda.
Is their some way to set a Span or Div style (or other method) on the image so that it does not print?
Last edit: 13 years 2 weeks ago by SteveTheTechie.
The topic has been locked.
- Brian
-
- Offline
- Administrator
-
- Posts: 10649
- Thanks: 3580
Re: A technical HTML question...
13 years 2 weeks ago
there is a css to affect printing, google is your friend
The following user(s) said Thank You: Heni, SteveTheTechie
The topic has been locked.
- Brad Smith
-
- FreeToastHost Ambassador
-
- Thanks: 0
Re: A technical HTML question...
13 years 1 week ago
The FTH print CSS has a class called 'no print' you can call.
Hey Brian,
I just noticed -webkit-print-color-adjust: exact is on the print CSS. Has this been there all along or recently added?
Code:
.noprint {
display:none;
}
Hey Brian,
I just noticed -webkit-print-color-adjust: exact is on the print CSS. Has this been there all along or recently added?
The topic has been locked.
- SteveTheTechie
-
Topic Author
- Offline
- Administrator
-
- Posts: 11526
- Thanks: 3050
Re: A technical HTML question...
13 years 1 week ago - 13 years 1 week ago
Ok, I just tested the .noprint class out for a button image and it works *great* for what I am trying to do.
Now I can put whatever custom "buttons" or links I want in my Agenda Header, link them to whatever I want, and the buttons or links do not print.
Perfect!!!
Now I can put whatever custom "buttons" or links I want in my Agenda Header, link them to whatever I want, and the buttons or links do not print.
Perfect!!!
Last edit: 13 years 1 week ago by SteveTheTechie.
The topic has been locked.
Moderators: Brian, Pam, rhtaylor3, marc33, NotLiable, jgavin, Lcala305, Heni, peterb323, DebbieT
Time to create page: 0.145 seconds
Copyright © 2025 FreeToastHost 3 Support. All Rights Reserved.