Following on from the previous post, I should probably put up an example to
show why I am not using pre-wrap instead of pre. These two examples
illustrate:

http://homepages.ihug.co.nz/~tmjpbn/prefprew.html
http://homepages.ihug.co.nz/~tmjpbn/prefprew1.html

The prefprew version has
  div.fragment { white-space: pre-wrap; }
  .preformatted { white-space: pre; }

This lays the code example out properly (pre on both gives double spaced
lines), but shows the problem with the unwrapped note line.

The prefprew1 version has
  div.fragment { white-space: pre-wrap; }
  .preformatted { white-space: pre-wrap; }

This line-wraps the note correctly, at the expense of chopping all the
leading spaces out of the code example.
 
Cheers
Trevor


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to