@Philippe : Great shot ! The printing is now good as you can notice it on-line. Thank you still !
Ingo says : Would be nice if you or someone else would implement the > javascript injection as mentioned in the post, and open it to the public. > Would be fun to use it for long listings (I do this manually, but only for > small listings). I did not too much understand, I am not very good translator. Can explain? Thank you too ! Matthieu Greetings. 2005/6/23, Ingo Chao <[EMAIL PROTECTED]>: > > Matthieu Petiot schrieb: > > ... when I print the page, part of the contents of the tag pre is > truncated > > because lines are very long. ... > > http://giminik.developpez.com/articles/php/style-switcher/ > > Matthieu, > > I'd like to suggest a theoretical method without using <pre>. > I once posted the following to the wsg-list. > > http://www.mail-archive.com/[email protected]/msg17859.html > > You are a programmer, it shouldn't be too hard to parse your > <pre>-listing and compile a <ol>-list (I haven't tried, it's a sort of > pretty-printing). > > The advantage is that you have full control on a ol-list (line-numbers, > highlighting lines on hover, indenting, wrapping) and you could write > some rules for media print and for media screen, projection. > > Would be nice if you or someone else would implement the javascript > injection as mentioned in the post, and open it to the public. Would be > fun to use it for long listings (I do this manually, but only for small > listings). > > regards, Ingo > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
