Solved

Setting page margins

Posted on 1998-07-15
2
186 Views
Last Modified: 2010-04-09
I need to be able to set the page margins and header on an HTML page. I haven't done much HTML for a while, but I think I remember that there were a couple of tags to do this, albeit maybe only in IE4. Please don't tell me to use tables and set the borders that way, I'm convinced there are tags to do what I want. Many thanks in advance.
0
Comment
Question by:dgb001
2 Comments
 
LVL 1

Accepted Solution

by:
TAMC earned 20 total points
ID: 1844626
in the body tag do something like this and as far as I know it does only work in IE, don't know which version started supporting it but I dont't think it works in NN or NC.

<BODY TOPMARGIN=0 LEFTMARGIN=0>

obviously replacing the 0 with the number of pixels you choose to have as a margin.
0
 
LVL 1

Author Comment

by:dgb001
ID: 1844627
Many thanks TAMC. I haven't tried it yet, but those tags do indeed ring bells, so I'll take your word for it and try it later.

0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Centered Image 2 29
How to make a moving character 3 59
How to make footer stick to bottom 9 31
Expand HTML tables without having to click on it 16 46
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question