hey,
Just committed to development tip and 3.1.0 development branch. It’s very cool; basically looks the same as the pdf format, however it will support UTF-8 special characters. The links are is same place as PDF counterparts, but labeled HTML. Note the margins are hard-coded in, but I kept all the css styling within the functions to allow options for more on the fly customization in the future. Test it out and let me know how it goes; it will show up in cvs demo this AM.
Files I touched:
openemr/controllers/C_Prescription.class.php
openemr/templates/prescription/general_send.html
openemr/templates/prescription/general_list.html
Now we can nitpick over units of measure in CSS. I prefer to use px and %.
I’m glad to see you defined the font-size at the body-tag level. That sets the standard for the whole page. From there you can use the % measure to scale things up or down. Or use the font-point scale.
When defining width and height of things I prefer px (pixel) over others such as pt or em. Mostly because I’m working with computer screens. Even on the printed page it works well, but so does the pt measure.