~~~ 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
  • SteveTheTechie's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 11526
  • Thanks: 3050

A technical HTML question...

13 years 2 weeks ago - 13 years 2 weeks ago
#20257
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?
Last edit: 13 years 2 weeks ago by SteveTheTechie.
The topic has been locked.
  • Brian
  • Brian's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 10649
  • Thanks: 3580

Re: A technical HTML question...

13 years 2 weeks ago
#20258
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
  • Brad Smith's Avatar
  • FreeToastHost Ambassador
  • FreeToastHost Ambassador
  • Thanks: 0

Re: A technical HTML question...

13 years 1 week ago
#20266
The FTH print CSS has a class called 'no print' you can call.
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
  • SteveTheTechie's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 11526
  • Thanks: 3050

Re: A technical HTML question...

13 years 1 week ago - 13 years 1 week ago
#20267
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!!!
Last edit: 13 years 1 week ago by SteveTheTechie.
The topic has been locked.
  • Heni
  • Heni's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3909
  • Thanks: 832

Re: A technical HTML question...

13 years 1 week ago
#20268
Very handy! I shall add this to my box of tricks.
Secretary, EY Toastmasters club 1137486, District 112
Auckland, NZ
The topic has been locked.
  • SteveTheTechie
  • SteveTheTechie's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 11526
  • Thanks: 3050

Re: A technical HTML question...

13 years 1 week ago
#20269
I am moving this to the Tips and Tricks section...
The topic has been locked.
Moderators: BrianPamrhtaylor3marc33NotLiablejgavinLcala305Henipeterb323DebbieT
Time to create page: 0.150 seconds