![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I guess floats do not contribute to the table cell width as floated elements are taken out of the flow of the document and thus take up no space. |
#3
| |||
| |||
|
|
A float in a table cell will stretch the cell's width and height. |
#4
| |||
| |||
|
|
A float in a table cell will stretch the cell's width and height. This may be true for *one* float, but what about having several floats in the cell? |
|
At least the floats in my example (last table on the page) http://www.mobotixserver.de/~daniel/..._float_en.html |
#5
| |||
| |||
|
|
This may be true for *one* float, but what about having several floats in the cell? Same. |
|
At least the floats in my example (last table on the page) http://www.mobotixserver.de/~daniel/..._float_en.html The quality of the help available here increases significantly if you allow us to see what it is that you are actually trying to do (minimised to only the relevant bit), instead of presenting bogus "some text" content. |
#6
| |||
| |||
|
|
This may be true for *one* float, but what about having several floats in the cell? Same. Granted, the cell dimensions will increase to incorporate all floated elements. Problem is, the arrangement of several floats inside a cell is not completely controllable, e.g. you can not have all floats on one line although the browser window is big enough. At least this is my finding after experimenting with floats. |
|
At least the floats in my example (last table on the page) http://www.mobotixserver.de/~daniel/..._float_en.html The quality of the help available here increases significantly if you allow us to see what it is that you are actually trying to do (minimised to only the relevant bit), instead of presenting bogus "some text" content. You are insinuating that my example is a bloated mess, a tag soup that you deservedly declined to decrypt. |
|
I am sorry if you got that impression. Believe me, I put several hours of work into that page to do exactly what you are asking for: describe the problem using reduced test cases. Therefore I used "bogus text". I think that's typical for test cases and examples. Of course, I could have used the "lorem ipsum" dummy text instead :-) I think, you did not read through my page. The page describes *what* I am trying to do, then gives some *working examples* (using tables) and then tries to give some solutions (using CSS), which are the best I could think of. What more information do you need? I am happy if I can improve the page to describe the problem more clearly. |
#7
| ||||
| ||||
|
|
You probably have a misconception about floats. Floating is not a correct method to align elements or to create a "layout". Sadly floating is often used for these purposes, but it's a hack which often causes nasty problems, and when used for such inappropriate purposes they often are a pain to work with. |
|
It helps considerably if we are allowed to see the problem, not someone's idea of the solution since that prevents us from checking if the best solution was chosen. |
|
Your example doesn't show us anything about what you are actually trying to do. |
|
All it demonstrates is that you are trying to emulate table properties. |
#8
| |||
| |||
|
|
Your example doesn't show us anything about what you are actually trying to do. I can not concur. |
#9
| |||
| |||
|
|
I am not wasting my time on someone who isn't willing to let me see what he is actually trying to do, bye. |
#10
| |||
| |||
|
|
Spartanicus wrote: It helps considerably if we are allowed to see the problem, not someone's idea of the solution since that prevents us from checking if the best solution was chosen. [...] Your example doesn't show us anything about what you are actually trying to do. I can not concur. The examples on the page [...] present the layout [...] I want to achieve. |
![]() |
| Thread Tools | |
| Display Modes | |
| |