Page center

Ok. So you know how you draw an HTML box and give it a image and check the
width can grow box. I did that and it does not work if you set the page
alignment to center, left, whatever. And I need the page align to be center.
On Dec 16, 2010 2:56 PM, “DeltaDave” email@hidden wrote:


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

When you set the page to center, you have to give it a width, and that
causes the elements inside the page to be constrained to that width.
There is a way to simulate what you are talking about here, without
actually centering the page. Set the page to Align:None, and that will
let your full-width elements scale to fill the browser window. Then
select everything else (the Page part that needs to have a defined
width and remain centered), group it together, then cut it to the
clipboard, and then draw an HTML box big enough to hold it. Set this
HTML box to 100% width, double-click inside it so you have a flashing
text cursor, and paste. Click once on the inline “page” element, and
set its Margin to Auto. Preview, and as they say, the rest is magic.

Walter

On Dec 16, 2010, at 3:17 PM, Nathan Ander wrote:

Ok. So you know how you draw an HTML box and give it a image and
check the
width can grow box. I did that and it does not work if you set the
page
alignment to center, left, whatever. And I need the page align to be
center.
On Dec 16, 2010 2:56 PM, “DeltaDave” email@hidden wrote:


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

I remember that thread, but you said that it works perfectly - so I saw no need to rush in.

The (to me) standard procedure of centering is:

Put into your 100% DIV another div (click in and choose insert HTML from the menu).

That inline div, set to your page width and choose margin, adjust and check the “horizontal…”. Click OK.

There are advices to choose “Auto” but it gives a nasty mismatch so I never do.

Repeat this for all your other to center divs.

In my cases it’s normally:

Header, css-menu, spacer, content, spacer and footer.

This could be a pain at all, cause this should be done before inserting any further content.

To deal with stretching divs needs a bit of planing your artwork - but I hope it helps you.

Cheers

Thomas


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