How to make a <div> or <a href="#"> to align center

The Solution to How to make a <div> or <a href="#"> to align center is


Add text-align:center;display:block; to the css class. Better than setting a style on the controls themselves. If you want to change it you do so in one place.

~ Answered on 2013-10-25 12:37:09


Most Viewed Questions: