Tag: margin

C

Center aligning div elements

Well, in most of the scenarios in a web designing art, you might come across one wherein you have to center align a div tag, without affecting the text in it. Your first thought might be text-align:center; But if you want to center align the div alone, leaving the text alignment to be unaffected, you ...

Advertisements
Advertisements