Re: [css-d] White-space rule - best usage

2008-03-29 Thread Ian Young
> Subject: Re: [css-d] White-space rule - best usage > > > Ian Young wrote: > > > Been looking at the white-space rule and came across this on client's > > site. > > pre{ > > white-space: pre; /* CSS2 */ > > white-space: pre-wrap; /* CSS 2.1

Re: [css-d] White-space rule - best usage

2008-03-29 Thread Jukka K. Korpela
Ian Young wrote: > Been looking at the white-space rule and came across this on client's > site. > pre{ > white-space: pre; /* CSS2 */ > white-space: pre-wrap; /* CSS 2.1 */ > white-space: pre-line; /* CSS 3 */} The comments are misleading, because pre-line is in CSS 2.1, too. And the comments a

[css-d] White-space rule - best usage

2008-03-29 Thread Ian Young
Hi guys, Not been on for a while. Been looking at the white-space rule and came across this on client's site. pre{ white-space: pre; /* CSS2 */ white-space: pre-wrap; /* CSS 2.1 */ white-space: pre-line; /* CSS 3 */} What is best usage? Apologies if this a daft question. Cheers Ian IY e-Solut