Page 452 - Xara Designer Pro X17
P. 452
452 Web Graphics and Websites
the photo resizes to match. Right-click on the pasteboard and turn on "PASTEBOARD
BACKGROUND" > "FILL BROWSER WINDOW".
Offsetting the top of your page
Normally if you just set the page and pasteboard to different colors, when you preview
you’ll see that the page extends right to the top of the browser window. You can’t see
any of the pasteboard color above your page. However you can add an offset so that
there is some space above your page in the web browser.
To add an offset, you change the page origin. Normally the page origin is set to be the
top left corner of your page. By moving the origin up 20 pixels, for example, you add a 20
pixel margin to the top of your page when it’s viewed in a web browser.
You can change the origin in two ways. The easiest way is to open the "UTILITIES" >
"OPTIONS" dialog (or right click a page and choose PAGE OPTIONS), go to the GRID &
RULER tab and increase the value of the Y coordinate of the origin point. This is normally
set to the vertical size of your page, so just increase it by the margin size you would like.
So for example if your page is 700 pixels tall, change the Y value of the origin coordinate
from 700 to 720, in order to add a 20 pixel offset.
Alternatively you can set the origin point interactively. Turn rulers on by right clicking and
choosing "SHOW GRID/GUIDES" > "SHOW RULERS" or by choosing SHOW RULERS from the
WINDOW menu ("Ctrl + L"). Then click and drag on the crosshairs button, which is located
where the horizontal and vertical rulers join, at the top left of the canvas. Now you are
dragging around the origin position, so position it the appropriate distance vertically
above the top left corner of your page.
Changing the horizontal position of the origin has no effect on the horizontal positioning
of your page, so this should be left unchanged.
Page and Pasteboard Background Layers
If you open the PAGE & LAYER GALLERY you will see both the PAGE BACKGROUND LAYER
and the PASTEBOARD BACKGROUND LAYER. These layers hold the objects that make up
the two backgrounds in your document.
These layers are normally locked, so you can’t select and edit their contents. But you can
unlock them in the PAGE & LAYER GALLERY in order to perform some limited editing in
order to customize your page or pasteboard backgrounds. Just click on the lock symbols
next to the layers to unlock them. Once unlocked, you can make a background layer
current (so new objects are drawn on it) or edit the objects on them just as for normal
layers.
If for example you had chosen a different color for your page background, you’d see a
rectangle become selected (look at the status bar!) when you clicked on your page
background. You can now do some limited editing of this rectangle, such as give it a
graduated fill using the FILL TOOL, or give it rounded corners using the RECTANGLE TOOL.
If you have placed items on the pasteboard - you might for example have graphics,
photos or other pieces of work in progress that you don't want to appear as part of your