Re: [css-d] A printable pre

2008-04-19 Thread Jukka K. Korpela
Philippe Wittenbergh wrote: > selector { > white-space:-moz-pre-wrap; > white-space:-webkit-pre-wrap; > white-space:-o-pre-wrap; > white-space:pre-wrap; > } > should cover most browsers. By the specs, only the last declaration should work. By the current state of affairs, none of them works on IE

Re: [css-d] A printable pre

2008-04-19 Thread Philippe Wittenbergh
On Apr 20, 2008, at 6:08 AM, Anas R. wrote: > Imagine that you want to print a long pre line, wich has a vertical > scroll bar (like thishttp://www.richstyle.org/web.php), > When you want to print it you'll have 2 choices: > - Either activating ward-wrap (using white-space: normal), then > yo

[css-d] A printable pre

2008-04-19 Thread Anas R.
Hi all, Imagine that you want to print a long pre line, wich has a vertical scroll bar (like this http://www.richstyle.org/web.php), When you want to print it you'll have 2 choices: - Either activating ward-wrap (using white-space: normal), then you'll lose ASCII-line-breaks and tabs. - or you'l