Page details
First discovered on:
10:16pm, 08/16/15

All tags for this page:
0%
0 folks

How to centralize div horizontally and vertically

findnerd.com/list/view/How-to-centralize-div-hor... - Details

sachin156: In this method you have to take margin:auto and define all side 0 (if you want excellently in center). But it will support IE7 and above. and second is to use css transform, for this method you have left and top position 50% and translate value...

to tags:      

Save this page to your bookmarks.

Tagged and described by the following users:

sachin156 saved this page on 08/16/2015 10:16pm

In this method you have to take margin:auto and define all side 0 (if you want excellently in center). But it will support IE7 and above. and second is to use css transform, for this method you have left and top position 50% and translate value should be -50% in X and Y axis. For full information, Visit full Blog. http://findnerd.com/list/view/How-to-centralize-div-horizontally-and-vertically-/3870/

Tags: centering  position  div 

This URL was also folkd by:

by