Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How do you center a dynamic content in css? Re: How do you center a dynamic content in css?

#138485
Paulie_D
Member

However, what you are actually trying to do is have the span and `a` center inside the div (which would be also be centered)

What you might try is using `inline-block` on the span and anchors and setting text-align center on the div.

Sort of like this…http://codepen.io/Paulie-D/pen/liuep