FreewayTalk

5 replies to this thread. Most Recent

tobiaseichner

18 Nov 2008, 10:06 am

How to position an object after an other one ?

I have two objects, both of HTML type (if it matters) which I want to be placed one after the other (one page contents, one footer).

However the top object may vary in height, so there are no fix coordinates for the second object.

Is there a way at the time creating the master page to specify something like “Second object has to be placed after 50 pixels the original one” ?

I tried so far to group both objects, but this does not work as intended (just leads to interesting layout effects ;-)

quote

CGI/Perl scripts and software development - http://www.sunnyscript.com

Internet Consulting and Services - http://www.starenterprise.com

Umberto

18 Nov 2008, 10:32 am

See at http://www.freewaytalk.net/thread/view/37073#m_37089

Umberto

quote

tobiaseichner

19 Nov 2008, 7:58 am

Likely I haven’t correctly described my problem, since I was a bit in a hurry, so it could be understand wrongly:

Basically there is a footer bar that should be displayed on each page of a project, without getting adjusted its position manually. Therefore I’m looking for an action that places an HTML object after the last visible object within the page.

Unfortunately I could not find a solution at the thread you directed me to.

quote

CGI/Perl scripts and software development - http://www.sunnyscript.com

Internet Consulting and Services - http://www.starenterprise.com

RogerG

19 Nov 2008, 11:22 am

Hi Tobi

One way of doing this is to create a 2 row table one row for content the other for the footer.

I use this here: http://www.rossetts.co.uk

Here’s the page build view:

quote

tobiaseichner

19 Nov 2008, 6:15 pm

@RogerG: Thank you for the hint, I’ll give it a try, although I’d like to get rid off tables unless absolutely needed ;-)

Mmmh, maybe something like that would be a good idea for an action developer to write one :-)

quote

CGI/Perl scripts and software development - http://www.sunnyscript.com

Internet Consulting and Services - http://www.starenterprise.com

Back to Top

Michael

19 Nov 2008, 8:41 pm

A flexible CSS layout should accomplish what you want. Have a look at http://www.thebigerns.com/freeway/stretchilina/ for instance. You don’t need to copy the three column layout: you can easily adapt this to one or two columns. The essential thing is that the footer moves in response to the content above it.

Somebody already linked to Dan Jasker’s blog, which also has some very good advice: http://danjasker.blogspot.com/2008/07/fw5-understanding-box-model.html

Michael

On 19 Nov 2008, 7:58 am, tobiaseichner wrote:

Basically there is a footer bar that should be displayed on each page of a project, without getting adjusted its position manually. Therefore I’m looking for an action that places an HTML object after the last visible object within the page.

quote

FreeCounter