Roland M�sl wrote:
>"Burpmaster" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>>>Finally, I have uploaded a sample to my site showing a small portion
>>>of what you can do with printers and CSS in general.
>>>Try viewing it with Mozilla's print preview.
>>>http://www.truffula.net/~burpmaster/print.html
>>>
>>Your move, Roland. Show me how using JavaScript layout is better. Aw,
>>heck, just show me JavaScript code under 20 times the size of the CSS
>>above to do the same, that works in at least one browser. (Gee, wonder
>>which one that will be)
>>
>And now how to tell, that print media has 118 DPI?
>
Why would you need to know the resolution? You can just layout based on
percentage and length measurements such as inches. Even if you did have
a use for finding the DPI, it would be better, simpler, and more
compatible to do as much as possible with CSS, then make whatever
adjustments are necessary based on DPI or whatever with JavaScript.