Check out the fiddle provided here: https://jsfiddle.net/5jnnutg8/
I am looking for a way to center align and display inline the "something #" list items. While the title "Hi" can be centered using text-align: center
in css, this doesn't seem to work for the list items.
Is there a method using only CSS to achieve this without making changes to the structure of <div>
, <ul>
, and <li>
? I am using a wordpress plugin and adjusting these elements would be inconvenient.
The desired result is to have the "something #" list items centered aligned, so that when the browser is resized, the "something 3" item drops down while still remaining centered. I hope this explanation makes sense.
Thank you!