# How to start Web page at top left corner of screen

**URL:** https://boards.straightdope.com/t/how-to-start-web-page-at-top-left-corner-of-screen/137344
**Category:** Factual Questions
**Created:** [November 18, 2002, 6:01pm UTC](https://boards.straightdope.com/t/how-to-start-web-page-at-top-left-corner-of-screen/137344 "2002-11-18T18:01:59Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![pesch](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/pesch/32/4925_2.png) [@pesch](https://boards.straightdope.com/u/pesch)
#### Post date: [November 18, 2002, 6:01pm UTC](https://boards.straightdope.com/t/how-to-start-web-page-at-top-left-corner-of-screen/137344/1 "2002-11-18T18:01:59Z")

</div>

This is probably a very basic question, but I’m at a loss at solving the problem.

I’d like my Web page to start as close to the top left corner of the monitor as possible. I’m using Dreamweaver 3.0 which [as you can see from my page](http://www.planetpeschel.com/pMachineFree2.2/weblog.php?id=0), starts with roughly a half-inch margin at the top and left sides.

I can’t figure out how to get rid of it. I’ve looked at other pages (like the Straight Dope Message Board front page) and tried various things with style sheets and the Page Properties. Nothing.

Any ideas? What am I missing?

---

<div class="post-metadata">

### Author: ![Eonwe](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/eonwe/32/240_2.png) [@Eonwe](https://boards.straightdope.com/u/Eonwe)
#### Post date: [November 18, 2002, 6:33pm UTC](https://boards.straightdope.com/t/how-to-start-web-page-at-top-left-corner-of-screen/137344/2 "2002-11-18T18:33:00Z")

</div>

Well, I would put everything in a table, and then use, um an align=left or maybe valign=top, I think those are the right commands.

---

<div class="post-metadata">

### Author: ![Gaudere](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@Gaudere](https://boards.straightdope.com/u/Gaudere)
#### Post date: [November 18, 2002, 7:26pm UTC](https://boards.straightdope.com/t/how-to-start-web-page-at-top-left-corner-of-screen/137344/3 "2002-11-18T19:26:42Z")

</div>

Add “topmargin=0 leftmargin=0 marginheight=0 marginwidth=0” to the body tag. The boxes you have on top (image and nav) that are centered will still start a bit away from the left margin due to the centering, if you want them flush left remove the center tag.

---

<div class="post-metadata">

### Author: ![Frank\_2](https://avatars.discourse-cdn.com/v4/letter/f/8c91f0/32.png) [@Frank\_2](https://boards.straightdope.com/u/Frank_2)
#### Post date: [November 18, 2002, 8:09pm UTC](https://boards.straightdope.com/t/how-to-start-web-page-at-top-left-corner-of-screen/137344/4 "2002-11-18T20:09:37Z")

</div>

A way that works for me:

Place your entire web page (everything between the body tags) into a layer, using the DIV tags. Now position that layer at the coordinates 0:0.

This is the corporate site I work on and is an example of using this positioning technique. [www.moderngroup.com](http://www.moderngroup.com)

---

<div class="post-metadata">

### Author: ![pesch](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/pesch/32/4925_2.png) [@pesch](https://boards.straightdope.com/u/pesch)
#### Post date: [November 18, 2002, 8:27pm UTC](https://boards.straightdope.com/t/how-to-start-web-page-at-top-left-corner-of-screen/137344/5 "2002-11-18T20:27:36Z")

</div>

Great! That gives me some things to try. Thank y’all very much for the help.

pesch
