No Height setting on DIV- Stuck!

Is there a way to draw an HTML box, then draw another HTML box inside of it, and set the first HTML box to have no height so that it conforms to the content of the inner HTML box?

I am using WebYep for some content management, and it would be great to have the flexibility of not having to use inline items.

Any information will be greatly appreciated. Thanks.


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

On 30 Aug 2010, at 13:17, twb716 wrote:

Is there a way to draw an HTML box, then draw another HTML box inside of it, and set the first HTML box to have no height so that it conforms to the content of the inner HTML box?

Yes, just click on the symbol beside the height field in the Inspector so that it’s greyed out.

best wishes,

Paul Bradforth

Buy my eBooks at:
http://www.paulbradforth.com/books/


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

Thanks, Paul. I figured it out, but there is one difference from your instructions- I needed to set the “internal” divs to be non-layered items. Otherwise, the first HTML box just goes to 0px, regardless of what HTML items I have placed in it. Thanks again for the information!


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

Usually, you should draw your HTML-DIV (Item1), in click item1 and choose insert → HTML Item another DIV (item2). Click somewhere in the white space. If you set under Preferences → Layout → Automatic Undefined Height → Ask, Freeway will now ask you if item1 (your wrapper) shall have an undefined height. Click OK and you’re done. I set it on ask, because sometimes you want and sometimes not. These are some basics on the way to build an entire inline boxmodel.

Cheers

Thomas


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

Thanks, Paul. The problem with doing it that way is that you eliminate the flexibility of being able to drag your internal HTML item around in the external HTML item.

If you draw an HTML item inside of another, and just uncheck the “Layer” box in the inspector, you will have the option of removing the height parameter on the external HTML box AND be able to drag the internal HTML box around.

Thanks again for the input.


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

On 30 Aug 2010, at 14:20, twb716 wrote:

Thanks, Paul. I figured it out, but there is one difference from your instructions- I needed to set the “internal” divs to be non-layered items. Otherwise, the first HTML box just goes to 0px, regardless of what HTML items I have placed in it. Thanks again for the information!

The way I do it is like Thomas Kimmich just described it; draw an HTML box, click for a cursor inside, then go Insert>HTML item. Yes, you can’t drag it around; you use float and margin in the Inspector to position it and, doing that, you can position it just as though you’d dragged it around.

best wishes,

Paul Bradforth

Buy my eBooks at:
http://www.paulbradforth.com/books/


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

Thanks, Paul! How would you layer two items within a box and have the height of the container box be set to “auto”?


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

On 30 Aug 2010, at 18:35, twb716 wrote:

Thanks, Paul! How would you layer two items within a box and have the height of the container box be set to “auto”?

Pretty much as I said last time, but twice! Draw an HTML box, click in it and insert another one, then immediately repeat that last bit so that you have two. if you want them side-by-side then set the float to ‘left’ in the Inspector. Alternatively, you can set one to float left, and the other to float right. You can adjust the space between them using the Margin setting in the Inspector.

best wishes,

Paul Bradforth

Buy my eBooks at:
http://www.paulbradforth.com/books/


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

On 30 Aug 2010, at 18:35, twb716 wrote:

Thanks, Paul! How would you layer two items within a box and have the height of the container box be set to “auto”?

Sorry, forgot to say in my last post: then set the height to auto by clicking the icon next to the height field in the Inspector.

best wishes,

Paul Bradforth

Buy my eBooks at:
http://www.paulbradforth.com/books/


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

Right, but then you can’t layer two items.


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

On 30 Aug 2010, at 19:35, twb716 wrote:

Right, but then you can’t layer two items.

Forgive me, I’m reading this via email, so I’m not sure if you’re replying to me or not. If you are:

All items I’ve been talking about are layers. Or do you mean something else by ‘layer two items’?

best wishes,

Paul Bradforth

Buy my eBooks at:
http://www.paulbradforth.com/books/


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

That’s the point of the game. The div into div is what it says. No layer items, cause the divs have to play together. Navigate to http://www.kimmich-dm.de/blogging/disqus-follow.php?DOC_INST=12 and download the example file. Look at the site panel and watch the elements. I agree, it’s a bit more extended, but that’s the way you “undefine height”.

Thomas


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