Daniel Kabs <news092006@kabsi.dewrote:
Quote:
Quote:
Quote:
>>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.
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.
Quote:
Quote:
>>
>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 implied no such thing.
Quote:
>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.
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. This can be done using CSS, but it is rarely a good idea to
do so. Table layouts have a bad reputation for the problems they cause,
so what is the point of emulating all those problems with CSS? If you
want to move away from table layouts then you are going to have to adapt
a new way of thinking.
Now how are we supposed to suggest a good way forward if as in your case
all we can learn from your demo is that you want to emulate tables?
--
Spartanicus