Reply to Re: Table's obsessive behaviour

Your name:

Reply:


Posted by Jonathan N. Little on 05/29/06 07:26

cuj0@bigpond.com wrote:
> I know there must be a simple answer to this, but I've spent all
> morning trying to work it out, and I just can't. What is my TABLE's
> obsession with staying on the same line as the DIV? Even if the DIV is
> set to 150% width, the TABLE still won't move down to the next line.
> This doesn't happen if I replace the table with free text or a new div
> - it just seems to be an issue with the table. Although I know how I
> can work around it, can someone please explain to me why this happens?
>
> (note: only happens for me in Firefox - doesn't happen in IE)
> (also note: please reply to the group, as emails will bounce)

Suppose to reply only to group so all can see, your note is not needed.
>
> <HTML>
> <BODY>
> <DIV style="width:100%;float:left;background-color:blue;">
^^^^^^^^^^
Here is the cause, Firefox's behavior is correct here, IE is in error,
remove the float, and I would suggest to learn what 'float' is first
before you use it.

See:
http://www.w3.org/TR/CSS21/visuren.html#propdef-float


> Hi
> </DIV>
> <TABLE BORDER="1">
> <TR><TD>tHERE</TD></TR>
> </TABLE>
> </BODY>
> </HTML>
>


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация