By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,299 Members | 1,247 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,299 IT Pros & Developers. It's quick & easy.

center a div tag

100+
P: 158
How do i center a div tag on the screen? I've tried using a <center> tag but it doesn't validate? Any help would be greatly appreciated.

Thanks!
Oct 6 '08 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 397
The common method for centering something with CSS is given here .

If you have something "uncommon" to center horizontally, put it on a public server and provide a clickable link to it in your post.
Oct 6 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.