Centering Div Layout in Dreamweaver

Adobe Dreamweaver cs3
February 27, 2010 at 14:25:09
Specs: Windows XP
Ok, this seems like it would be so simple but I can't figure it out.

This is my page so far, it's lacking in content, I'm just trying to figure out the layout. It looks good on my monitor, but I know in larger screen sizes, it is not centered! Is there anyway to fix this? I feel horrible because I'm supposed to be making a portfolio and yet I can't do something this simple. I know AP divs aren't the best choice, but isn't there a way to fix it using CSS?

This is my current code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
body {
background-image: url(background.png);

#apDiv3 {
	margin: 0 auto;

.style1 {color: #999999}
body,td,th {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-weight: bold;

<div id="container">
<div id="apDiv3">

<p align="center" class="style1">My name is Heather, and I like to use Photoshop. <br />
<p align="center" class="style1"><br />
This is my online portfolio, used to show<br />
projects and creations I have made both in<br />
and outside of classes.</p>

See More: Centering Div Layout in Dreamweaver

Report •

February 28, 2010 at 11:24:26
Nevermind, I have gotten this problem solved.

Report •

March 16, 2010 at 15:49:08
could you post your solution for the benefit of others?

Report •
Related Solutions

Ask Question