Go4Expert (http://www.go4expert.com/)
-   Web Design, HTML And CSS Forums (http://www.go4expert.com/forums/web-design-forum/)
-   -   Center horizontally & vertically (http://www.go4expert.com/forums/center-horizontally-vertically-t17469/)

Izaan 11May2009 17:23

Center horizontally & vertically
Can we achieve centering horizontally and vertically but with no predefined height with pure CSS/XHTML?

SaswatPadhi 12May2009 09:03

Re: Center horizontally & vertically
Do you want something like http://pmob.co.uk/pob/vertical-center1.htm ? When you re-size the browser, it automatically centers itself.

If you want something like that, take a look at this tutorial : http://pmob.co.uk/pob/hoz-vert-center.htm.

All times are GMT +5.5. The time now is 19:08.