Height should be a function of content in my opinion. If your content
boxes (once they are filled) have no fixed height - and their
containers have no fixed height, they should all expand/contract
vertically to fit the content. (By “no fixed height” I mean the height
button on each has been clicked off).
As for widths, don’t forget that box padding will affect your
percentage widths in a negative fashion. That’s because borders or
padding are usually in fixed units – so the width of a 15% box with
10px padding and a 2pt border then becomes…
2px + 10px + 15% (of the box container) + 10px + 2px
If you try to set percentage widths in the padding widths, they are
relative to the box itself not the container, which can behave
strangely. Borders, I have no idea.
Usually in such a layout, I try to leave extra room so that with
padding/borders the items remain at a distance. Since I do not know
how to calculate this scientifically, I use my instincts mostly. It
takes a lot of patience as mishaps in judging the space can wipe out
your entire layout.
If your page is fixed width, don’t use percentages. If your width is
flexible, percentages will make better sense.
Here’s a quick and dirty toss up:
http://www.thebigerns.com/freeway/workbench/fw5_simple-three-col/
Doesn’t work well in IE6, but I suspect it’s a box model problem that
could be fixed if I had more time to spend on it.
On Thu, Jun 5, 2008 at 10:33 PM, Martin Henderson wrote:
This is great! I’ve been fighting this problem since I first got the program. I’m trying to have 3 child htmls instead of two. Does anyone know how to set the floats on 3? Also, in the inspector I have the width set to 15%, 70% and 15% again. How should I set the height?
Thanks everyone, this will restore my sanity, such as it is.
–
Ernie Simpson – Freeway 5 Pro User – thebigerns.com
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options