[Pro] Flexible height for two HTML objects ?

I face the following problem…

There are two HTML objects on a page. The first item has a variable height that might vary, but the second HTML object should follow directly after the first one (with some pixels of space between). Furthermore, the first object is smaller in width than the second one.

Currently I manually adjust the height of the first object on each single page, depending upon its contents - which is quite time consuming, because I must take care to different browsers and computer platforms to get a nice layout.

So I wonder if there is a way to place the second HTML item automatically at the end of the first HTML object without combining them both in FW (which doesn’t work because of the different object widths) ?

Tobias.


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

Can you put them both in a container div inline.

David


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

Unfortunately not. I tried this before, but it destroys my intended layout.

Tobias.


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

Can you post a link to your layout so that we can see if we can offer an alternative.

In what way does it destroy it?

David


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

Unfortunately not. I tried this before, but it destroys my intended layout.

It shouldn’t with the right settings for Floats and Clears.

D


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

Sorry for the delay. I played with various settings and also adjusted the layout slightly. Now it looks as intended :slight_smile:

Thank you for your help.

Tobias.


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

Good - glad to help.

D


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

Thank you for your efforts :slight_smile:

Tobias.


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

Hey Tobia can you share how you where able to fix your issue? I am sort of having the same issue.
I have a blog which I was inserting via html mark up using iframe and wanted it to auto stretch according to the content but have not been able to get it correct. I have to keep inputing the height manually as the content grows.
any advice would help. the website is www.maguclothing.com as you can see it looks fine now but I have it set at a large pixel height not a percentage as when I do a percentage the info gets cut off.


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

It was just a design issue on my project, nothing related to HTML.

Regarding the iframe implementation, you can specify a percentage based height here. How about to put the iframe into a div container (with variable height) and set the height of the iframe to 100% ?

Not sure if it will work as intended, just an idea.

Tobias.


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