question

F

feldrewCo30

simple question here -

on my web site:

www.sjcda.com

I'm not exactly sure how to "bring in" the left and right margins. I'm
wondering - do I have to take my information and put it into a page size
cell on each page to give it clearly defined edges/borders? Is there a
"global" i.e. whole web way to define the margins, or am I thinking too
simplistically?

thank you.
 
S

Sparky Polastri

feldrewCo30 said:
simple question here -

on my web site:

www.sjcda.com

I'm not exactly sure how to "bring in" the left and right margins. I'm
wondering - do I have to take my information and put it into a page size
cell on each page to give it clearly defined edges/borders? Is there a
"global" i.e. whole web way to define the margins, or am I thinking too
simplistically?

thank you.

To modify the margins (the space between the edge of the browser and the
beginning of content) use the Page Properties in FrontPage. (Right click,
Page Properties, Margins tab)

Note that in HTML only left and top margins are valid values, right and
bottom are determined by the browser window size, not by the content of the
page.

You can also change margins in the tables you are using (in that case it's
table properties, "cell spacing" and "cell padding")

With those two tools, you can make the content snug against the top and left
edges of the browser.
 
J

Jon Spivey

Hi,
Do you want to fix the margins to a defined size, eg 10 pixels or 20% or do
you want to eliminate the margins altogether?

To fix the margins you can use CSS. Open notepad and type
body{
margin: 10px 10% 10px 10%;
}
save as styles.css and import to your web. Then in FP hot Format - Style
Sheet Links choose styles.css and check all pages. Now every page will have
the margins you defined.

Margins are set in order clockwise from the top - ie Top Right Bottom Left
so the above example would give 10% margins on the left and right of your
page and 10 pixel top and bottom. You can use any combination of pixel and
%.

If you're wanting to eliminate the margins altogether you should be able to
do
body{
margin:0;
}
This will take out the margins in every browser except NN4. If NN4 support
is an issue go to html view and type
<body marginheight=0 marginwidth=0 topmargin=0 leftmargin=0>
You can actually do this without touching the HTML in FP2003 but I don't
know if you have that so typing will work in every version.
 
F

feldrewCo30

Thank you guys!

Jon said:
Hi,
Do you want to fix the margins to a defined size, eg 10 pixels or 20%
or do you want to eliminate the margins altogether?

To fix the margins you can use CSS. Open notepad and type
body{
margin: 10px 10% 10px 10%;
}
save as styles.css and import to your web. Then in FP hot Format -
Style Sheet Links choose styles.css and check all pages. Now every
page will have the margins you defined.

Margins are set in order clockwise from the top - ie Top Right Bottom
Left so the above example would give 10% margins on the left and
right of your page and 10 pixel top and bottom. You can use any
combination of pixel and %.

If you're wanting to eliminate the margins altogether you should be
able to do
body{
margin:0;
}
This will take out the margins in every browser except NN4. If NN4
support is an issue go to html view and type
<body marginheight=0 marginwidth=0 topmargin=0 leftmargin=0>
You can actually do this without touching the HTML in FP2003 but I
don't know if you have that so typing will work in every version.
 
Top