Parent doesn't resize to fit child

Hi

I’ve got a html item with a child html item inside it. The child item contains text. In the browser, if I increase the text size (zoom text only), the child item grows to contain the text, but the parent item doesn’t.

Is there a way to get the parent item to also grow?

Thanks

Mark


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

If your child item is really inside a parent-box, this parent need to have an undefined height. Select the parent-box and click the little height-icon. The value in there should grey out and be unreachable.

Cheers

Thomas


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

Hi Thomas

I’ve tried this. The parent item just shrinks to 0px height.

I’m deliberately not using inflow items. Just drawing items within another item to get parent child items.

Any ideas?


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

I think then the “Relative PageLayout” action should be your first choice.

Cheers

Thomas


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

I’m deliberately not using inflow items. Just drawing items within another item to get parent child items.

Then it sounds like your child isn’t really inside its parent.

If you look at the Site/Page list. LHS of the FW window, (with page selected) does your child show as indented under its parent.

David


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

Yup. I’ve drawn a css positioned html item (item1) and made it 300px high. I’ve drawn another html item inside item1. Item2 is definately inside item1. I’ve made item2 have an undefined height and added some text.

In the browser I’ve ‘zoomed text size only’ and item2 expands to fit the text. But item1, the parent item, doesn’t expand.

And more strangely, if I make item1 have an undefined height, it has a height of 0px (i.e. you can’t see it), even though it contains a child item of 300px.

Odd.

Thanks for any help

Mark


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

What setting have you used on the overflow content of item 1

D


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

A positioned child will not work for this kind of layout. You have to make the inner box an inline child if you want the size of its content to affect the size of its parent. Click once on the inner box and cut it to the clipboard. Then double-click inside the outer box and paste. You can get the same positioning or outset by adding margin to the inner box or padding to the outer box. Now if you disable its height property, the outer box will shrink-wrap around the inner box, and if the inner box’s content changes, both the inner and outer box will stretch to fit.

Walter

On Apr 26, 2012, at 5:30 PM, “DeltaDave” email@hidden wrote:

What setting have you used on the overflow content of item 1

D


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

Hi Walter

Thanks for that. I was hoping to avoid inline items - but I can’t so I’ll have to bite the bullet.

One of my issues with inline items and FW is that I can’t control them from the master page like I can with absolute items… anyway I’m sure there is a good reason why this is…

Thanks

Mark


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

Please excude me for even asking this … but what’s the problem with inline items? I build everything like that, and that works perfectly (for me anyway)?


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

The specific issue that was referred to is that master pages are difficult to use with an inline layout. Which is true.

Walter

On Apr 28, 2012, at 6:54 AM, “Richard van Heukelum” email@hidden wrote:

Please excude me for even asking this … but what’s the problem with inline items? I build everything like that, and that works perfectly (for me anyway)?


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

Haha, yes totally true, I’ve run into that a couple of times myself :S


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