css - How do I keep a mediawiki div element centered horizontally? -


#searchinput {         width: 50%;         height: 40px;         display: block;         text-align: center;         margin-left: auto;         margin-right: auto;         top: -12em !important;         left: 1em !important; } 

i can't div stay centered in mediawiki wiki. there way this? code above doesn't anything. stays in place. have applied know in previous post, , still doesn't work divs.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -