Posted by Greg N. on 11/10/67 11:22
The line end character translates into white space:
<span style="background: red;">X</span>
<span style="background: blue;">Y</span>
<span style="background: green;">Z</span>
This code generates three text boxes, separated by white spaces. If
that's not what you want, you can prevent it this way:
<span style="background: red;">X</span><span
style="background: blue;">Y</span><span
style="background: green;">Z</span>
That works fine, but the code looks messy. Is there a clean way to have
the browser *not* translate the line end into white space?
--
Gregor's Motorradreisen:
http://hothaus.de/greg-tour/
Navigation:
[Reply to this message]
|