Skip to content

a non-geek's blog

Random notes on web development and linux

  • Home

Top Posts

  • How to get system info in Linux
  • 5 ways you can draw a mind map in Linux

Recent Posts

  • Display web notifications only when the browser window/tab is not active
  • How to insert a page break in html/css for printing
  • 20 tips to become a better PHP Programmer
  • Playing with CenterIM, a command line instant messenger
  • Top 10 torrent clients for linux

Recent Comments

Anitha on Top 20 Linux websites
Il meglio della sett… on How to get system info in…
lazytorrent on Top 10 torrent clients for…
Add ‘pounce… on Playing with CenterIM, a comma…
DevOps Training on Top 20 Linux websites

Archives

  • May 2016 (1)
  • April 2016 (1)
  • December 2010 (1)
  • November 2010 (1)
  • September 2010 (1)
  • April 2010 (3)
  • August 2009 (1)
  • February 2009 (1)
  • January 2009 (1)
  • October 2008 (3)
  • September 2008 (5)
  • August 2008 (4)
  • June 2008 (5)
  • May 2008 (6)
  • April 2008 (4)
  • December 1981 (1)

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 754 other subscribers

RSS

  • RSS - Posts

amarok apt-get aqualung Archlinux ariado ascii audacious audio player azureus backup linux windows tar cli bash shell command bash burn CLI command line console deluge Desktop flac flowchart fonts ftp funny linux gconf-editor general gimmix gimp GNOME google hotkey how to installation Keyboard keyboard shortcuts ktorrent linux linux best torrent clients linux comics linux filesystem linux mediaplayer linux shortcuts media player MoreAmp movie player mp3 mp3 player mp3blaster music player Nautilus network ogg packages pacman partitions php player rebmp rtorrent samba screen lock shortcut sonic-rainbow special locations synaptic system-settings system info terminal themes tips Ubuntu vuze wav which linux who Win Key xmms

and some good links

  • Getting started with Linux
  • HowToForge
  • Linux Screw
  • Linux Tutorial
  • LinuxAbout
  • mysysad
  • One page Linux manual
  • reallylinux
  • The Linux Documentation Project
  • ubuntulife

Month: April 2016

How to insert a page break in html/css for printing

Add this page-break css rule for the element you don’t want to break or split between pages at print:

[CSS]
p.print, blockquote.print, tr.print {
page-break-inside: avoid;
}

Browser compatibility for page-break on caniuse.com

Page-break on css-tricks.com

Comment April 20, 2016April 22, 2016 nongeekboy
Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • a non-geek's blog
    • Join 270 other followers
    • Already have a WordPress.com account? Log in now.
    • a non-geek's blog
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar