Le 5 mars 2013 à 22:44, Laura Valentino <la...@vidmot.com> a écrit :

> I've never heard of floating table cells - not sure why you'd need to.

I've had to do that once, to try to beat some sense in an old-school 
table-based layout. Luckily it is not online anymore, since replaced by more 
sensible markup.

On the other hand, eventually, one may have the need to reshuffle the table to 
make it more usable on e.g. small-screen devices, along the lines of this demo 
(resize browser window to something narrow):
http://dbushell.com/demos/tables/rt_05-01-12.html

The key in this is to start by resetting all table elements (table, tbody, tr, 
td) to 'block', for them to loose their 'table-ness'. Then start building.

In the case of the OP, his/her table-cells are floating alright, but don't move 
'up' as expected (if I understand what is wanted) because the cells are is 
still contained in a <tr> which acts as a containing block.

Philippe
--
Philippe Wittenbergh
http://l-c-n.com




______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to