this post was submitted on 03 Oct 2025
24 points (96.2% liked)
Programming
22950 readers
145 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Page on my personal site, with good print styles so I can print to pdf if needed.
Oh interesting - mind sharing or too personal?
Eh, I try to keep this username separate from my real name. It’s not too hard though, you just need ‘@media print {‘. Set display none on stuff like the navbar and footer, and you also need to think about page breaks and such, there are guides.
Browser dev tools can simulate print styles, and you can preview with the regular print preview. To get consistency across browsers you probably want to set a definite width, so the sizing stays the same.
Yep fair enough. Thanks for the the tips.