# Dreamweaver Help

**URL:** https://boards.straightdope.com/t/dreamweaver-help/426365
**Category:** Factual Questions
**Created:** [November 14, 2007, 2:02pm UTC](https://boards.straightdope.com/t/dreamweaver-help/426365 "2007-11-14T14:02:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![SharkB8](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@SharkB8](https://boards.straightdope.com/u/SharkB8)
#### Post date: [November 14, 2007, 2:02pm UTC](https://boards.straightdope.com/t/dreamweaver-help/426365/1 "2007-11-14T14:02:43Z")

</div>

Okay, I know it’s probably a little late to be asking this, since my site has been up and running for about 6 months now, but I’d like to know how to center my pages.

What I mean is, if I view it on my 12-inch iBook monitor, the page will be centeres, like most web pages are. But then if I view the same page on a 17-inch widescreen monitor, it will also be centered.

I’m no web designer. I grabbed a copy of Dreamweaver, and Dreamweaver for Dummies and tweaked a template, but now I want to do a little fun stuff with it, and realized that centering it should be simple, but I cannot find anything on how to do that.

How in tarnation do I make that happen?

Thanks in advance!

---

<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 14, 2007, 4:34pm UTC](https://boards.straightdope.com/t/dreamweaver-help/426365/2 "2007-11-14T16:34:33Z")

</div>

In the code view, you could put \<div align=“center”\> on top, right after the \<body\> tag, and then \</div\> at the bottom, right before the \</body\> tag. That might do it, depending on how your site’s built.

---

<div class="post-metadata">

### Author: ![Duckster](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/duckster/32/1244_2.png) [@Duckster](https://boards.straightdope.com/u/Duckster)
#### Post date: [November 14, 2007, 4:45pm UTC](https://boards.straightdope.com/t/dreamweaver-help/426365/3 "2007-11-14T16:45:40Z")

</div>

I think what you mean is you want your fixed width web pages centered within a browser window regardless of the size of that browser window.

That being the case, check out [CSS Centering 101](http://www.simplebits.com/notebook/2004/09/08/centering.html) from Simple Bits.

---

<div class="post-metadata">

### Author: ![SharkB8](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@SharkB8](https://boards.straightdope.com/u/SharkB8)
#### Post date: [November 14, 2007, 5:31pm UTC](https://boards.straightdope.com/t/dreamweaver-help/426365/4 "2007-11-14T17:31:39Z")

</div>

Great, thanks guys. I’ll try out both things.
