Solved

Setting page margins

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
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…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

706 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

21 Experts available now in Live!

Get 1:1 Help Now