On Wed, 10 May 2000, Vincent Maton wrote:
In the source of the page, it's good (3 spaces) but on the browser it's not good (1 space). And of course, it's a big problem for the next query who used the field's value.
Depending on whitespace like that in a world of browsers where the idea is to separate content and presentation could get you in a lot of trouble. It would probably be better to redesign so that you do not depend on the whitespace, or so that you correct the whitespace on each database update if the correction is deterministic. That said, you might want to experiment to see if you can prove whether or not it is indeed the browser that is eating the whitespace, which is certainly what it sounds like. Perhaps there is an HTML way to preserve the whitespace ( ?). --RDM