Reply to Re: Table within a <div>

Your name:

Reply:


Posted by Jim Moe on 04/10/06 23:10

Paul Watt wrote:
>
> i've placed a table within a <div> to dispay some data.
> All is well in FF, but in MSIE the table starts inline with the bottom of
> the <div> to the left. I've set the css div to vertical align: top, but this
> hasn't made a differance.
>
> http://www.paulwatt.info/test/calendar.htm
>
IE does not always correctly flow blocks. I'm a little vague on the
specifics but IIRC it miscalculates the available horizontal space
thinking there is not enough for, say, a table whose width is 100%.
A couple of things to try:
1. Float the .content div
2. Set the table's width to less than 100%, or do not use a width at all

BTW "vertical-align: top" is meaningless for a div.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

[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

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