Hello.

My site www.justwantaquote.com

doesnt seem to display in the center of the site.

Its made using xhtml/css using Dreamweaver cs3

How can I center the entire div tags ? The page properties is set to left 0 and top 0.

Please see the site at www.justwantaquote.com

All help is greatly appreciated.

Thank you.

Hmm, my idea. :)
Bound this page with any named <div> tag, onto <body>, e.g.

<body>
     <div id="container"> 
     [B]Everything others[/B] 
     </div>
</body>

and in .css file set this:

#container {
	margin: 0 auto;
	width:  *px;
	}

*Width value of your page.

commented: thanks for your help - microtekblue +1

Hmm, my idea. :)
Bound this page with any named <div> tag, onto <body>, e.g.

<body>
     <div id="container"> 
     [B]Everything others[/B] 
     </div>
</body>

and in .css file set this:

#container {
	margin: 0 auto;
	width:  *px;
	}

*Width value of your page.

Thanks for the help. But what do you mean by the width? You mean the width of my div tags, or the width that I want the page to be? Basically I want to be able to center the entire site.

Thanks.

You must not setting width, but is better have it. I mean width of your page elements, e.g. header, because entire page is wide all the same.

You must not setting width, but is better have it. I mean width of your page elements, e.g. header, because entire page is wide all the same.

Sorry I have no idea what you just said there. Could you be a bit more clear.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.