Setting Page Margins

E

Elle

Is there a way to set page margins for all pages in a web all at once? Or,
do you have to set them each individually? Thanks!
 
M

Murray

No matter what method you would use to control the page margins, you would
have to touch each page. There is no way to do it 'globally' although you
could certainly do a global search and replace to find -

</head>

and replace it with -

<style type="text/css">
<!--
body { margin:10px; }
-->
</style>
</head>

(this would give you a 10px margin top, right, bottom and left)
 
S

Steve Easton

You can set them using a style sheet.
Create an external style sheet with this in it:
body{
margin-top: 0;
margin-left: 0;
Margin-right: 0;
}

And then apply it to all pages.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
A

Andrew Murray

Actually you *can* do it in one hit.
through Format Style Sheet and Stylesheet links.

just add this bit:

{ margin: 10px }

to the "body" section within your external CSS.

Apply to link it to all pages.

Or with the Jimco Addin.


So put the
 
A

Andrew Murray

www.jimcoaddins.com - there's a plugin that allows you to set the <body
leftmargin, top margin, marginwidth, marginheight> attributes.

Else you can do it through Styles, add the margin attributes to your CSS and
then apply the style to all pages (this can also be done in one hit through
Frontpage.
 
M

Murray

That assumes you already have a global stylesheet linked. And it's
basically what I said, right?
 
Top