Page Margins

admin

Administrator
Staff member
How do I do page margins in CSS? I know how to do it this way:

<body topmargin="50" leftmargin="50">

But I'm not sure about how to do it with CSS? :pThis will set all the margins for the page (top, right, bottom, and left)

<body style="margin: 50px;">

To do them individually, it's margin-left, margin-top, etc....I had one more question that is along the same lines so I figured it would be easyer to post it here and not make another post.

What is the code to link to an external CSS file?Something like this:

<link rel="stylesheet" href=http://www.webdeveloper.com/forum/archive/index.php/"stylesheet.css" type="text/css">
 
Back
Top