Flexible height

I am trying to get a vertical banner to adjust its height automatically, should the user click on the larger text option in their browser.

I have nested it within an html box and clicked on the css function… now here’s the thing… If I create it as an html box I can click off the width so that it adjusts automaically to the width of the parent box, however if I do the same thing to the vertical height, rather than expanding to the height of the parent html box… it becomes 0 pixels high. If I create it as a graphic item, I don’t have the options to make the height flexible… its starting to do my head in as I am sure the answer will be a simple one. I’m using Freeway 5 Pro by the way.

Hope this make sense? Any help would be much appreciated.

Jon


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It seems to work if I add inline text (i.e.fullstops) to the box which is then coloured the same as the box rendering the text invisible… not an ideal way to achieve what I want, but seems to work ok… is there a better way to achieve the same flexibility without ‘cheating’?

Jon


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Are you putting content into this banner area dynamically, or are you
just using it as a graphical element? The usual way to get a colored
stripe down one side of a layout or element is to give it a background
image that has that color and width. This is referred to as “fake
columns” in CSS layout circles.

You could also try inserting your banner item into its parent as a
child element (select the parent, then draw the child directly over
the top of it; or start dragging the child, and as you cross over the
parent, hold the spacebar down until you see a blue “selection”
highlight appear around the edges of the parent, indicating that it is
accepting the drop). A child layer can be set to have its top AND
bottom 0px away from the parent’s top and bottom, and this will cause
the child’s height to become undefined (i.e.: stretchy).

Walter

On Feb 26, 2009, at 12:17 PM, wingnut wrote:

I am trying to get a vertical banner to adjust its height
automatically, should the user click on the larger text option in
their browser.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

DOH! Of course…! By making it part of the background image it all works perfectly! I knew I was overcomplicating things.

Cheers Walter.

Jon


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options