Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

printing-web-page

scale html table before printing using css

August 30, 2023 by Tarik

I know I’m raising the dead, but for future search results reference: I ran into a problem with super wide tables causing all the browsers to calculate the height incorrectly and repeat the thead multiple times on single pages – my solution was to apply zoom: 80% to the body (% varies based on your … Read more

Categories css Tags css, html-table, printing-web-page Leave a comment

Print page numbers on pages when printing html

January 20, 2023 by Tarik

As @page with pagenumbers don’t work in browsers for now I was looking for alternatives. I’ve found an answer posted by Oliver Kohll. I’ll repost it here so everyone could find it more easily: For this answer we are not using @page, which is a pure CSS answer, but work in FireFox 20+ versions. Here … Read more

Categories html Tags css, html, printing-web-page Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa