Softpress

Making an Item Stretch the Width of the Page

There are two ways to do this, all of which require the page to have their Align option set to None.

The first method is to draw a non-layer HTML item the width of your page. Give it a color or border so you can see it and with it still selected check the Width Can Grow checkbox in the Isnpector palette. Preview in the browser and you will see the item grow and shrink with the browser window. This method will work for both Express and Pro.

The second method can only be done in Freeway Pro. Draw a layer HTML item on the page and using the Width field in the Inspector type in 100%. You can then resize the item to be any size you like and Freeway will calculate it as a percentage of the page. Preview in the browser to see it working.

Following on from the method above the same effect can be achieved by setting an inset from the left and right. Click the Left and Right Inset icons in the Inspector and set both values to be 0px (see screenshot).




You can set these values to be anything you like, the left and right points will alwyas be the distance from the left and right sides of the browser that you specify.


Related Articles

Attachments

No attachments were found.

Article Details

Last Updated
25th of September, 2008

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF


User Opinions

100% thumbs up 0% thumbs down (5 votes)

How would you rate this answer?




Thank you for rating this answer.

Continue