2
Contributors
6
Replies
8
Views
9 Years
Discussion Span
Last Post by 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.

Votes + Comments
thanks for your help - microtekblue
0

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.

0

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.

0

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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.