In article
<b4341c4f-6cb8-4c48-9c6f->,
jodleren <> wrote:
> Hi
>
> I have a strange behaviour with the following code. In some cases, in
> IE, the table centers - the text in paragraphs before and after are
> aligned to the left, but the table is centered, so I get a small table
> in the middle... for some reasons, this happens in both IE6 and
> firefox... is there anyway I can force the table to the right?
>
> WBR
> Sonnich
>
> <p>
> <font face="Arial">Tere</font>
> </p>
> <p align="left">
> <table>
> <tr>
> <td>
> <font face="Arial">Kolmapäev </font>
> </td>
> <td>
> <font face="Arial">TK</font>
> </td>
> </tr>
> <tr>...
Don't put a table in a paragraph, make a proper URL with a strict
doctype, validate it and then ask detailed questions about the
validation errors...
You can float a table right.
<table style="float: right;">
You can make sure the text in the cells are left by
<td style="text-align: left;">
Of course, the right thing to do is to put such styles in a set of
instructions in the head or in a separate stylesheet and not inline.
Perhaps you might find:
<http://htmldog.com/guides/htmlbeginner/>
and
http://htmldog.com/guides/cssbeginner/
helpful.
--
dorayme