(UK) 07719 181 166

CSS – Center Unordered List UL/LI Based Menu

Call me stupid, but i’ve always been told that you can’t center the contents of an unordered list as used in the footer menu for many websites (maybe that goes to show that many people don’t know what they’re on about?) the solution just popped into my head – try it for your self!

styles:

#footer{text-align:center;list-style:none} #footer li{display:inline}

HTML

<ul id=”footer”> <li><a href=”1.asp”>Link 1</a></li> <li><a href=”2n.asp”>Link 2</a></li> <li><a href=”3.asp”>Link 3</a></li> </ul>

Simple stuff indeed!

If you liked this post please Google +1 it. Thanks!
facebook CSS   Center Unordered List UL/LI Based Menutwitter CSS   Center Unordered List UL/LI Based Menugoogle plus CSS   Center Unordered List UL/LI Based Menureddit CSS   Center Unordered List UL/LI Based Menupinterest CSS   Center Unordered List UL/LI Based Menulinkedin CSS   Center Unordered List UL/LI Based Menumail CSS   Center Unordered List UL/LI Based Menu

Google+ Comments

SEO Blog
The SEO Team You Need!
I work as Head of Search for a leading SEO company in Leeds who in turn handle campaigns for some of the UK's largest high street brands. Our approach is to use a broad range of on-page analysis and Link Building techniques to holistically build high quality traffic to your website.

Call me today on 07719181166 for free, honest and open advice about your online projects or email markrush@gmail.com.