What settings would I/could I use on my 3 columns so that unequal amounts of text would still ensure that they were full height in an inline Html5 layout.
Or is FW on its own is not capable of this and I have to use one of the other methods.
You probably heard somewhere that the first float needs to be set “fright” then “left”, do you? Out of my experience, forget it - this is no issue in any modern browser anymore. So set the float for all three boxes to left. This ensures, that the sorting order in source code is col1, col2, col3 and not the other way round.
Your basic question:
No idea - but I’m pretty sure, that a couple of java-script lines could ensure an equal height of the columns. Something like:
height of (col1, col2, col3) is equal to current max-height of (col1, col2, col3) blabla roger, over and out.
What I do in practice is, to wait on clients content, add it, have a look at the most high column and set a min-height for all of them (primitive but usually helpful for a starting-point).
You want columns of equal height or unequal content of equal height?
All three columns look the same height to me - the height of the largest
content block.
–
Ernie Simpson
On Sat, Feb 2, 2013 at 3:59 PM, DeltaDave email@hidden wrote:
OK - playing with FW6 here in Html5 mode.
What settings would I/could I use on my 3 columns so that unequal amounts
of text would still ensure that they were full height in an inline Html5
layout.
Or is FW on its own is not capable of this and I have to use one of the
other methods.
If the items are all set to collapse height, then they will shrink to the height of the content within each one. The usual way to make columns appear to be full-height is to use a background image on a parent item to fake the column (look in Bulletproof Web Design for “faux columns”) or some other sleight of hand.
The JavaScript solution is very simple:
var boxes = $$('#foo, #bar, #baz);
var height = boxes.map(function(elm){ return elm.getHeight(); }).max();
boxes.invoke('setStyle', 'height', maximum + 'px');
Naturally, that’s Prototype code, and naturally foo, bar, and baz need to be your columns’ ids.
Walter
On Feb 2, 2013, at 3:59 PM, DeltaDave wrote:
OK - playing with FW6 here in Html5 mode.
What settings would I/could I use on my 3 columns so that unequal amounts of text would still ensure that they were full height in an inline Html5 layout.
Or is FW on its own is not capable of this and I have to use one of the other methods.
And I don’t want to have to use JS - I just would like FW to be capable of doing it on its own with all these new fangled settings that are now available.
And I don’t want to have to use JS - I just would like FW to be capable of doing it on its own with all these new fangled settings that are now available.