Right hand margins

G

gillianc

I develop web pages on a 17 inch monitor. How can I see
what the page would look like on a smaller monitor? Is
there any way of fixing the right margin other than using
a table?
 
G

Guest

Hello Mike,

I am using FP 2002. Therefore am I correct in assuming
that using tables set at 100% is the most straightforward
way to set the right margin?


-----Original Message-----
Hi Gillianc,

If you're using FP3 then you can specify the resolution
that you wish to have the browser window sized to.
--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
J-Bots Plus 2002 87 components for FrontPage
http://www.websunlimited.com/order/Product/JBP2002/jbp_he lp_dir.htm
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible

"gillianc" <[email protected]> wrote
in message news:[email protected]...
 
J

Jon Spivey

Hi,

Probably the easiest way is to set the right margin (and any others you
want) in your stylesheet, like this
body{
margin: 0 20px 0 0;
padding:0;
}

Margins are set in order clockwise from the top (top, right, bottom, left) -
or you might remember the order as TRouBLe. So I've set a right margin of 20
pixels and the other 3 sides to 0, you can also use % units. The padding:0
is just to get rid of a default padding that Opera sticks on the body. Now
you can stick whatever content you want on the page - a table text whatever.
 
Top