* Elliotte Harold wrote:
>Really. Could you elaborate? Outside of pre elements and a couple of
>others no one ever uses any more, I don't think most browsers treat
>white space as all that significant. Maybe in the DOM, but not in the
>rendering. Certainly the difference between one space and no space
>matters, but not the difference between a space and a line break or a
>space and ten spaces.
That mostly accurate, but as you say, the white space may end up in the
DOM and scripts might depend on the amount of white space there. Also,
style sheets can be used to alter the rendering, like when using the
white-space property. And Tidy will turn
<p>...<u> ... </u>...</p>
into
<p>... <u>...</u> ...</p>
where the white space is no longer underlined. In almost all cases this
does not matter, but the principle is the same.
--
BjÃ¶rn HÃ¶hrmann Â· mailto:bjoern@hoehrmann.de Â· http://bjoern.hoehrmann.de
Weinh. Str. 22 Â· Telefon: +49(0)621/4309674 Â· http://www.bjoernsworld.de
68309 Mannheim Â· PGP Pub. KeyID: 0xA4357E78 Â· http://www.websitedev.de/