|
Posted by kklk on 10/12/05 01:32
well... looks like people like to increase problems and complex things.
HTML does not care about white spaces in the code...
so writting
....<td>
a
b
c
</td>
and
....<td>abc</td>...
will look exactly the same on the browser : you'll see : abc
if you want : a b c
you need to tell to browser that you actually want a white space
the specific code for a white space is
so
having
a b c
will look like : a b c
hope it help.
++
R.
<Piotr.Ozaist@gmail.com> a ιcrit dans le message de news:
1129053246.203436.226360@g44g2000cwa.googlegroups.com...
> Hi everybody,
> I've got a problem with html.
> Does anybody know what I have to do (special tag, some styles) if I
> want that html code like:
> <html>
> <body>
> <table>
> <tr>
> <td>
> a
> b
> c
> </td>
> </tr>
> </table>
> </body>
> </html>
> will produce
> "abc"
> not
> "a b c"
>
> I know that this white spaces comes from new line char, but I want to
> remove them and I the content of <TD> tag have to be written like in
> example above.
>
> I tried some styles, tags like <NOBR> but it doesn't work.
> Please help :)
>
> Ozi
>
Navigation:
[Reply to this message]
|