Solution: How To center your website in HTML/CSS
Many a time, i have seen people around here having problems to center their website or if they actually get it centered in one browser they are not able to in the rest.
I am a designer myself and before this post, i used to charge around $10 for centering webpages. But today i feel like giving something back to the warrior members, these are a few sites i refer to when centering pages.
Here's the list:
For Horizontal Centering:
Max Design - CSS Centering - fun for all!
CSS Centering: Auto-width Margins
SimpleBits ~ CSS Centering 101
Andy Budd::Blogography: CSS Crib sheet #3 - Centering a Div
Centering Block Element - css-discuss
All My FAQs Wiki: Center with CSS
And For vertical Centering:
How to: vertical centering with CSS / journal / hicksdesign
Vertical Centering in CSS
Permanently outdated - Alsacrations
If you think this post was useful, Do thank me.
And i think this should be put up as a sticky , so that people dont have to search or make a post again related to this.
Prateek.
PDJSolutions.
Reduce stress | Stay focused | Keep positive and balanced