|
Posted by Jonathan N. Little on 02/03/07 16:40
Ben C wrote:
<snip>
> Anyway, FF seems to float the right float in .panelHeaderContent all the
> way to the right of the 300px container (the <td>), making the computed
> width of .panelHeaderContent 300px. I can see no justification for that.
> Opera and Konqueror both get it right. But "right" isn't the effect you
> want, since you want "End" at the right of the <td> presumably.
>
> Your problem is easily fixed though if you just add width:290px to the
> selector for .panelHeaderContent. The container is 300px and the image
> is 10px, so you know that width needs to be 290px.
..panelHeaderContent
{
width: 290px; ...
,
Yep, explicit width needed. Usually IE borks if you do not specify a
width on floated blocks.
Which Opera? Because Opera 8.51 computes DIV 'panelHeaderContent' much
less than 290 pixels but as the min width of both contained DIVs which I
do not believe the OP wishes.
But I must say all the nested floating DIVs with a TABLE? Looks like
some need to clean up their 'design'.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|