Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Table centers in some cases...
October 8, 2008, 3:08 pm
rate this thread
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?
<font face=3D"Arial">Kolmap=E4ev </font>
Re: Table centers in some cases...
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
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:
- » The HTML Terrorist's Handbook: Composing Evil HTML
- — Next thread in » HTML Markup Language
- » Problems with background colour in nested div blocks.
- — Previous thread in » HTML Markup Language