Monday 17 August 2015

How to centralize div horizontally and vertically

Hi all,
Here are two method to center align a position of div.
  1. div{
  2. height: 200px;
  3. width: 200px;
  4. background: #ccc;
  5. top:0;
  6. bottom: 0;
  7. left:0;
  8. right: 0;
  9. margin: auto;
  10. position: absolute;




 - Read the full Blog at: Howto centralize div horizontally and vertically

FindNerd allows you to post Html questions and answers. In this forum html designers and developers can collaborate with each other to resolve a specific html issue, as all the community members here are highly experienced and can provide answers to any html issue in a short span of time.

Apart from this, If you have any PHP language issues, you can post at PHP developer forum and get instantly resolved it from highly experienced FindNerd community members.


No comments:

Post a Comment