Posted by jlbdoc95 on 11/11/69 11:22
See if this will fit the bill for you:
<div style="background: red; display: inline;">X</div>
<div style="background: blue; display: inline;">Y</div>
<div style="background: green; display: inline;">Z</div>
"Greg N." <yodel_dodel@yahoo.com> wrote in message
news:dc802v$o1j$1@online.de...
> 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]
|