The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › [Solved] Centering
Hi I dont know how to get my list to position just like on screenshot. https://flic.kr/p/op6Bqa
http://merecepty.uphero.com
In your CSS, set:
body { text-align center; } #mn ul { display: inline-block; }
Also, your HTML is invalid, you shouldn’t put an a around your li, but rather put it inside like so:
a
li
<ul> <li> <a href=#>stuff</a> </li> </ul>
I didint think that is so simple, Thank you very much!
No worries!
Good CSS is simple CSS ;-)