![]() |
|
FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc. |
![]() |
|
Thread Tools |
![]() |
#1 |
Master of the @
Join Date: Aug 2004
Location: Madrid, Spain
Posts: 1,344
|
Don't print Attachments list
Hi all:
I have searched the forum, and I am not being able to find a way to get FastMail.FM not printing the list of attachments at the end of the message. I am not sure if this list should be at the top (as some of the members requested a couple of years ago), but I am totally sure that, in most cases, I do not want to have a list of alll the attachments (mostly embedded images from HTML formated mails) at the end of my printout, using 1-2 additional pages. Is there any way to solve this problem? Thanks in advance. |
![]() |
![]() |
![]() |
#2 |
Master of the @
Join Date: Apr 2003
Posts: 1,395
Representative of:
Fastmail.FM |
You can use custom css to hide the attachment section when printing. Use the code below:
Code:
@media print { #attachments { display: none; } } If you are not familiar with doing custom css, refer http://wiki.fastmail.fm/index.php?title=NewInterfaceCSS Its fairly easy to follow I believe, but if you are having problems with the instructions, please post back. |
![]() |
![]() |
![]() |
#3 |
Master of the @
Join Date: Aug 2004
Location: Madrid, Spain
Posts: 1,344
|
Thanks for your reply, kurianja
But there must be a problem, because I have created a "tweak.css" file that I have uploaded to the folder "{My Files}/custom-ui/css" but I cannot see any change. In order to test it, I have added to the file other CSS codes I have found here and in the page you referred, but those other changes seem to be not working too. I have tested it with Chrome and Firefox (both Windows Vista versions) and I have reloaded and exit/enter in the webmail in order to verify this is not the problem. Any suggestion? |
![]() |
![]() |
![]() |
#4 |
Master of the @
Join Date: Apr 2003
Posts: 1,395
Representative of:
Fastmail.FM |
The filename should be tweaks.css, I see you have mentioned it as tweak.css - that won't work.
Also make sure you have enabled the 'Custom styles' box in Options->Account preferences page - in the 'display' section. |
![]() |
![]() |
![]() |
#5 |
Master of the @
Join Date: Aug 2004
Location: Madrid, Spain
Posts: 1,344
|
Thanks again. It was my fault creating the file with an incorrect name. Now it works like a charm!!!
Just another question: is it possible to hide the URL's of the links when printing? They are not visible while displaying the message, but these links ocassionally "break" the formatting of the message after printing it. |
![]() |
![]() |
![]() |
#6 |
Master of the @
Join Date: Apr 2003
Posts: 1,395
Representative of:
Fastmail.FM |
The below should do the trick, but it still leaves the markers behind.. I can't see a way to hide these easily - hopefully some CSS expert would chip in.
Code:
@media print { #attachments { display: none; } div.messageBody > pre > a { display:none; } } |
![]() |
![]() |
![]() |
#7 |
Master of the @
Join Date: Aug 2004
Location: Madrid, Spain
Posts: 1,344
|
Mmmmm, this last code seems to be not working. In fact, I do not see any difference with this new code relating the URL's. Maybe I have not stated clearly what is my problem. I hope a pic should be of help:
http://infosoc.es/media/pics/fmproblem.png I do not want the printout displaying the URL's associated with pictures and/or links in the message. Thanks again for your help. |
![]() |
![]() |
![]() |
#8 |
Cornerstone of the Community
Join Date: Mar 2003
Location: Baltimore, MD (USA)
Posts: 836
|
Change
Code:
div.messageBody > pre > a Code:
div.messageBody a |
![]() |
![]() |
![]() |
#9 |
Master of the @
Join Date: Aug 2004
Location: Madrid, Spain
Posts: 1,344
|
Thanks, Mystakill, but no luck.
Now, all the elements with link dissapear (for example, not just the "[-----]" code but also the image where the link is attached, not just the "[---]" but also the e-mail address, and so on). |
![]() |
![]() |
![]() |
#10 |
Master of the @
Join Date: Apr 2003
Posts: 1,395
Representative of:
Fastmail.FM |
Hm. I did try that originally, but couldn't get it to work, and came up with the one I posted - that hid the links in my emails when print previewing. Weird. FF3.5.7
|
![]() |
![]() |
![]() |
#11 |
Cornerstone of the Community
Join Date: Mar 2003
Location: Baltimore, MD (USA)
Posts: 836
|
|
![]() |
![]() |
![]() |
#12 |
Cornerstone of the Community
Join Date: Apr 2004
Location: Melbourne
Posts: 971
Representative of:
Fastmail.fm |
You want:
Code:
.messageBody a:not([href^='#']):not([href^='/']):after { display: none; } |
![]() |
![]() |
![]() |
#13 |
Master of the @
Join Date: Aug 2004
Location: Madrid, Spain
Posts: 1,344
|
Thanks a lot, Neil.
This new code works perfectly ![]() This is one of the reasons I have my account with FastMail.FM while having another account with GMail: it allows to customize every aspect of the interfase and user experience. And with all of you, I am sure I will be able to get those customizations I cannot get by myself (I cannot be so active here now --but I usually read your contributions-- as I were some time ago, but I am very happy to see that the knowledge and expertise in these forums are as good as always has been). |
![]() |
![]() |