Formatting plain text in html? in programming
Thursday 12th of March 2009, 05:55:09 am
What happens when you combine dynamic content distribution with dynamic CSS manipulation?
The simple answer is "whatever you make it do", but the more interesting answer is "the basis for a dynamically adjustable text formatting system", which lets you set up print pages in terms of page dimensions and print dimensions, and have it automatically generate the right number of pages as divs on the page.
Which is exactly what I need for evaluating my book rewrite. Paired with a bit of nifty php processing so my 漢字(ふり) notation becomes
Putting it all together's lead to this, which works in Firefox 3, Webkit (Safari 4 and Chrome 1), Opera (9.5x) and IE7. So consider me quite happy. This was actually really fun to write.