Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Help needed with spacing and text movement
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Martin1
Super User

Netherlands
626 Posts

Posted - 21 Jan 2008 :  16:02:12  Show Profile  Reply with Quote
Hello all.

I need some help. If you look at this page:
http://www.webdesignersheaven.com/kernadviesz/coaching.html
you can see that it is divided in several rectangle blocks. Between these blocks there is 3 pixels whitespace (exactly the same ammount of space as the white line around the whole page, which is actually a complete white rectangle placed as a background) which might not be viewable that easy but trust me it's there.

When I add more text I would like it so that the white space between the pinkish rectangle with the text on it, the black rectangle at the bottom and the white line at the bottom of the page (which is the same line around the whole page) move so the distance between it all, stays the same.

This way I don't need to move every single thing by hand and keep lining everything up at 3 pixels distance which is kind of a lot of work.

Does anyone know of a way to achieve this?

Martin

Edited by - Martin1 on 21 Jan 2008 16:03:28

T00N
Super User

573 Posts

Posted - 21 Jan 2008 :  17:06:41  Show Profile  Visit T00N's Homepage  Reply with Quote
Pfoeh, good one.
I don't think its possible because you'll have to increase the height of the white background when you add more text.

quote:
This way I don't need to move every single thing by hand and keep lining everything up at 3 pixels distance which is kind of a lot of work.


If you align the black text to the bottom of the whiote background square and the press the up arrow 3 times you're done, aren't you?
Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 21 Jan 2008 :  17:21:44  Show Profile  Reply with Quote
Hello Toon.
quote:
If you align the black text to the bottom of the whiote background square and the press the up arrow 3 times you're done, aren't you?

Not if I start typing a new load of text. This text moves down beneath or over the black rectangle. So afterwards I need to make the white background longer to create space fot the black rectangle and then try to work out where the pinkish rectangle ends and make the black rectangle take three steps down.
Then I also need to make the white border at the bottom again three pixels high.

It's a rather precise and tedious job. Besides that seeing as the color white and the pinkish color are very alike I need a magnifier to see where the pink ends and the white starts making it even more difficult and tedious.

Martin
Go to Top of Page

T00N
Super User

573 Posts

Posted - 21 Jan 2008 :  18:47:31  Show Profile  Visit T00N's Homepage  Reply with Quote
Oke I see and what if you gave the black rectangle a 3 pixel white border? Then you could align it to the bottom of the white bg.
Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 22 Jan 2008 :  12:10:47  Show Profile  Reply with Quote
That is a rather smart solution to part of my problem!!! Never thought of that.

Now all I have to do is find out how I can get it all to move down as soon as I start adding more text.

Martin
Go to Top of Page

T00N
Super User

573 Posts

Posted - 22 Jan 2008 :  13:09:54  Show Profile  Visit T00N's Homepage  Reply with Quote
Make a textbox with a 3 px white border and a pinkish bg.
Make it the desired width (so it replaces the white background).
Give the text a margin so you'll have some space at the sides.

If you add text the textbox grows and all you have to do is align the black box to the bottom.
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 24 Jan 2008 :  09:00:13  Show Profile  Visit s.dav's Homepage  Reply with Quote
Martin, your page is a good sample page for using master-pages in version 4.0
Master-Pages will resolve your problem

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000