Solved

Setting page margins

Posted on 1998-07-15
2
185 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Embarcadero WebBroker REST server endpoint parameters 2 54
Datepicker in PHP 9 38
Bootstrap 3 website error 14 46
WordPress Themes 10 34
Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now