Ah, well just as Morpheus told Neo that the Matrix was “the world that
has been pulled down over your eyes, to hide the real world”; the
magical table in Freeway is how everything you draw on the page isn’t
inexorably drawn up into the top-left corner of the browser window, as
if by a giant magnet.
If you are using Freeway with its CSS Layout feature off, then
everything you draw on the page – even a table drawn with the table
tool – becomes a part of a larger table that Freeway manages for you,
and doesn’t let you edit directly.
If you use the table tool for layout purposes, then you’re trying too
hard.
If you are using the table tool to lay out tabular data, like
assigning labels to form elements in a contact form, or team members’
names and positions and jersey numbers in a grid, then you’re using
the table tool for what it was intended. That larger invisible layout
table will be there anyway, so drawing a table for layout purposes is
gilding the lily.
When you draw your markup item on the page, you are creating a new
table cell in this master layout table. When you insert a markup item
inline within a table cell or another HTML box, you are creating a
paragraph (which wraps around the inline markup item) and whatever was
inside the markup item becomes content within that paragraph. In the
case of the code you posted earlier, the result is invalid, because a
DIV cannot be the child of a paragraph. But if you have drawn your
markup item on the page, then a DIV can certainly be a child of a TD,
so that’s not your problem there.
What may be happening is that your TD is too small for the DIV plus UL
that sit inside it. When the content of a TD grows, the TD will flex
larger to hold that content. But in the case of the magical layout
table, whatever distorts one cell of the table will also distort any
other cells in the same row of that table. So if you have something on
the left that grows tall, whatever is to the right of that will also
have to grow taller to compensate.
When you make the markup item a layer, it floats above the layout
table, and no longer influences it in any way. This means that the
content of the markup item may grow and overlap content below it, but
it will never push that content out of the way. This is actually
something you want, much of the time, because no two browsers render
type exactly the same way. A table layout will naturally flex and
allow all the words to be read, not hide some of them underneath rigid
positioned images.
Walter
On Nov 5, 2010, at 2:26 PM, hugh wrote:
‘The magical table’…?? Which one is that?
If you can imagine a fairly basic Freeway (3.1) layout, there’s a
graphic item at the top in the middle, a 6 cell table beneath it,
three graphic boxes to the right of the table, and the markup item
(our menu) to the left of the table.
The markup item seems to be influencing the ‘spacing’ of the other
graphic items or the text inside a table cell.
Delete the markup item, or make it a layer, and the other items
behave as you want them to as per the Freeway layout.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options