RE: Re: tables won't float

Thanks for the responses Helder and William

Explicitly setting "clear:none" didn’t seem to make a difference but setting
the table to float left moved it up to the right of the image as required. I
don’t think this should be necessary but at least it works.

Phil

 

 

From: www-amaya-request@w3.org [mailto:www-amaya-request@w3.org] On Behalf
Of Stem William
Sent: 22 November 2008 03:19
To: phil.hatton@ntlworld.com
Cc: www-amaya@w3.org
Subject: Fw: Re: tables won't float

 


Phil,

 

In case this response was not what you were looking for, I tried 

 

<table border=2 style="float: left;"> 
<tr><td>Left table 1</td></tr> 
</table> 

--- On Thu, 11/20/08, Helder Magalhães <helder.magalhaes@gmail.com> wrote:

From: Helder Magalhães <helder.magalhaes@gmail.com>
Subject: Re: tables won't float
To: "Phil Hatton" <phil.hatton@ntlworld.com>
Cc: www-amaya@w3.org
Date: Thursday, November 20, 2008, 8:59 AM

> All current browsers except amaya & IE8! will display a table to the


right


> of a left floated element, is there a reason for this?


  


Maybe the default value for clear property [1] isn't coherent among


implementations...? Try forcing it to a value (apparently


"clear:none"


if you'd expect the table displayed right). But hey, I'm just guessing


- this may be due to multiple things such as small font alignment


differences etc. - it will all depend on your current page content,


unless you are experimenting with a very simple example (just a table


and an image, for instance).


  


  


Hope
 this helps,


  


  Helder Magalhães


  


  


[1] http://webdesign.about.com/od/advancedcss/a/aa010107.htm

 

Received on Saturday, 22 November 2008 11:54:35 UTC