Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Setting page margins

Posted on 1998-07-15
2
Medium Priority
?
191 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
TAMC earned 80 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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

722 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