css - Center <ul> <li> into div - Stack Overflow
it's not the current accepted answer that's good, it's this one:

<style type="text/css">
.wrapper {
text-align: center;
.wrapper ul {
display: inline-block;
margin: 0;
padding: 0;
/* For IE, the outcast */
*display: inline;
.wrapper li {
float: left;
padding: 2px 5px;
border: 1px solid black;

<div class="wrapper">
center  ul  list  html  css 
february 2015
« earlier      
1:1 a/b ajax analytics apache api apple apps architecture ascii asp.net authentication backup base64 bash beta blackjack blog boise brainstorm branch browser build business button cache caching centos chair cheatsheet check chrome churn code color command command-line communication comparison configuration control converter copy cron css csv data database debug debugger debugging delphi deployment design dev develoment development devtools display distributed documentation dom downloads dual dump ec2 editor education electronics email encryption explain export feature file files firewall fit format formatter fundraising garden gardening generator ghin git golf google gradient handicap homebrew horizontal host hosting html http https idaho ie images import install interview interviewing intuit io ios iotop ipad iphone iscsi java javascript jquery js json keyboard kids ktm launchd lifetime line linode linux list localhost log log4j logging lookup ltv mac macbook management market memcache memcached memcachedmanager memory merge mergeinfo mobile motorcycle mount mvc mysql nas number odata onboarding osx outlook parser password paste percona performance php powerpc process product profiling programming push questions rails redis remote replication responsive rest revenue rss ruby rubymine saas samba san scalability scalable score screen screenshot screenshots sdk security sed server services shell shortcuts significance sinatra single software source spanish speed spring sql ssh ssl startup subversion svn sync template terminal test testing tips tomcat tools touch tunnel tutorial ui user ux value vc version video vmware wave wcf web webdev webkit website windows www xcode xml

Copy this bookmark: