Home How to horizontally center a <div> in another <div>?
Reply: 0

How to horizontally center a <div> in another <div>?

user258
1#
user258 Published in April 25, 2018, 8:24 pm

How can I horizontally center a <div> within another <div> using CSS (if it's even possible)?

<div id="outer">  
  <div id="inner">Foo foo</div>
</div>
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.570878 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO