Re:CSS for printing to paper
by voussoir on Monday March 04, 2024 @12:37AM
(#39587334)
Wow, great use of the attr function, thank you!
[ Parent
| on HN ]
would recommend printing URLs in a very narrow font so they don't eat up the entire page
Re:CSS for printing to paper
by trumbitta2 on Monday March 04, 2024 @04:14AM
(#39588450)
That's a pretty common Accessibility best practice for print CSS!
Shouldn't this be an option in the browser print dialog instead?
Re:CSS for printing to paper
by withinboredom on Monday March 04, 2024 @05:51PM
(#39597227)
No
Great argument.
Re:CSS for printing to paper
by withinboredom on Tuesday March 05, 2024 @03:31AM
(#39600758)
They asked a yes/no question. In the spirit of HN pedantic comments, I answered their question fully.
If the anchor tag already has the URL as text, then will the URL be printed twice?
Like if I've got
<a href="https://www.google.com/">https://www.google.com/</a>
Will it print like this? https://www.google.com (https://www.google.com)