Drawing a simple rectangle

I want to draw a simple box frame around my master page. All the pages’ content will be surrounded by the box. I thought all I had to do was draw a graphic box, no color, make the border the thickness and the color I want, and then send it to the back.

Wrong. Every time I click on the page, I get a cursor in the page area surrounded by the box and the page turns white.

Can anyone tell me how to do this?


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

You can either select the graphic tool and click the background and drag - this will create your box. Or, Insert>Graphic Item. Then style it the way you want in the inspector pallet.

Nathan Garner

http://www.austinwellsdesign.co.uk

FW5 Pro | MacBook Pro | Snow Leopard

On 22 Dec 2010, at 12:21, Martin wrote:

I want to draw a simple box frame around my master page. All the pages’ content will be surrounded by the box. I thought all I had to do was draw a graphic box, no color, make the border the thickness and the color I want, and then send it to the back.

Wrong. Every time I click on the page, I get a cursor in the page area surrounded by the box and the page turns white.

Can anyone tell me how to do this?


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

When you click on the box, you “open” it to accept typed content. If you want to add content above the background, you must first select the HTML or Graphic tool you want to use. E.g. an HTML container for typed content; a graphic container for images. Then draw the item on the page. Or you can draw a new Item to the side of the page and drag into position. What else you can do depends whether you are using the Express or Pro version of Freeway.

HTH Colin.

On 22 Dec 2010, at 12:21, Martin wrote:

I want to draw a simple box frame around my master page. All the pages’ content will be surrounded by the box. I thought all I had to do was draw a graphic box, no color, make the border the thickness and the color I want, and then send it to the back.

Wrong. Every time I click on the page, I get a cursor in the page area surrounded by the box and the page turns white.

Can anyone tell me how to do this?


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

First of all, using a graphic as a “background” behind an HTML Web
page is a recipe for heartache. Graphics are made out of pixels –
they have a finite dimension and resolution. HTML is made out of math
and unicorn tears – it can stretch and bend and flow to fill any
crevice. At best, your HTML elements will simply run out of the
“bottom” of your background. At worst, Freeway will chop up your
graphic into pieces and leave gaps between the elements.

As to the white box appearing, you are probably clicking into an HTML
box and seeing the normal Freeway behavior. When you enter text
editing mode, Freeway puts a white background on the box so you can
see what you’re typing. As soon as you move back either to focus on
another object or to have a design cursor (rather than a text cursor)
on the HTML box, you will see that there is no background to your box.

Now to solve both of these issues at once, here’s what I think you
should do:

  1. Draw an HTML box to form your “background” to the page. With this
    box still selected, look in the Style tab (second from the left) of
    the Inspector. You will see a bunch of different background and border
    options available to you, and setting these will create flexible
    effects that will not either fall apart or become too small when your
    page content (or the browser’s font size) changes.

  2. After you have established the look of the frame you like, double-
    click inside that HTML box and insert Graphic boxes and HTML boxes
    inline, such that you have containers for the various parts of your
    page layout. These elements will push each other out of the way when
    they grow, unlike any two things you draw in Freeway’s usual CSS
    Positioning mode.

Using floats and margins, you can create a very neat layout of your
content which will be “bulletproof” against the slings and arrows of
browser and operating system differences.

Once you have a layout that looks the way you like it, removing the
height attribute from all of these nested elements (and the outermost
parent box) will complete the effect. To remove the height attribute
from an HTML box, click once on the box to select it, then click on
the up/down arrow icon left of the height setting in the Inspector.

Walter
On Dec 22, 2010, at 7:21 AM, Martin wrote:

I want to draw a simple box frame around my master page. All the
pages’ content will be surrounded by the box. I thought all I had to
do was draw a graphic box, no color, make the border the thickness
and the color I want, and then send it to the back.

Wrong. Every time I click on the page, I get a cursor in the page
area surrounded by the box and the page turns white.

Can anyone tell me how to do this?


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

Walter, Colin, and Nathan, thanks so much for the replies. The first thing I eventually realized was what Walter mentioned, that is, I was seeing FW’s normal behavior. I hadn’t looked at the box in the browser. When I did, of course, it looked right.

Then in FW I put some html text in a box and that, too, looked right in the browser.

But I had no idea of the problems that might be looming doing it this way until I read Walter’s response. I’ll reconstruct the page – which at this point is nothing more than the background color and the graphic box – the way he recommends.

This has been a great help.


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

HTML is made out of math and unicorn tears —

I wish someone would bottle that. :wink:


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