css - How do I get this code to center a div id? -
#border-search { position: relative; display: block; margin-left: 10px auto !important; margin-right: 10px auto !important; width: 100% !important; }
here js fiddle
add text-align:center;
css. here fiddle https://jsfiddle.net/7dms170p/2/
Comments
Post a Comment