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]
|