Lately, we’ve been playing around with stylesheets for print and directly ran into some problems.

This snippet in Firefox

  1. <div style="page-break-after: always">
  2.    <!– first page –>
  3. </div>
  4. <div style="page-break-after: always">
  5.    <!– second page –>
  6. </div>

only prints exactly one page (that means it even stops in the middle of a line when the page is full).
>> more…

Today I nearly went mad because I had to determine the encoding of some html files.
I tried various command line tools without any success until a colleague showed me that firefox can
guess the encoding: In my version (3 under Ubuntu) it is located here: “View”>”Character Encoding”.

As I didn’t find that on the web, maybe this post will save somebody out there the trouble I had. :)