User Interface Designs, Add Colours, User Experience Design (UX Design), Website Usability, Website Accessibility, Mobile Apps Design, Custom Website Design & Development, UI patterns, CSS Forms,Responsive Website
Design, css, jQuery designs, Html5, CSS3,PHP, Google Angular JS Framework, Backjbone JS, MVC
Monday, May 2, 2011
Horizontally And Vertically Centering Div with CSS
While building web page layouts, you’ve probably been faced with a situation where you need to center a div both horizontally and vertically with pure CSS. There are more than a few ways to achieve this, and in this article we are going to show you our favorite involving CSS and jQuery.
But first, the basics:
Horizontal centering with CSS