Skip to content

Web Developer Blog

Left align li elements with list-style:outside style

ul {list-style:none; margin:0; padding:0}
ul li {position:relative; margin-left:0; padding-left:1.0em}
ul li:before {content:”\2022″; fone-size:1.0em; position:absolute; top:0; left:0}

Reference: http://stackoverflow.com/questions/18753891/align-li-elements-with-list-typeoutside-style-to-the-content-border-consisten

Author adminPosted on May 23, 2014May 23, 2014Categories CSS

Post navigation

Previous Previous post: Full Screen Ajax Loader
Next Next post: Check SSL cert expire date from the cert file (.pem)

Categories

  • Amazon EC2
  • Apache
  • Apple
  • Bootstrap
  • Browser
  • Campaign Monitor
  • CDN
  • CentOS
  • Chrome
  • Composer
  • Concrete5
  • cPanel
  • CSS
  • Debian Linux
  • DNS
  • Drupal
  • eDM
  • Facebook
  • FirePHP
  • Flash
  • git
  • Gmail
  • Google Apps
  • Google Map
  • Horde
  • Hosting
  • HTML
  • HTML 5
  • Image Optimization
  • iPad
  • Java
  • Javascript
  • jQuery
  • Linux
  • Mac
  • Magento
  • Materials
  • MetaWeblog
  • MODx
  • MySQL
  • Nginx
  • Node.js
  • Payment Gateway
  • Paypal
  • Perl
  • Photoshop
  • PHP
  • Plesk
  • Programming
  • Push Message
  • Putty
  • React Native
  • Security
  • SEO
  • Shopify
  • SSH
  • SSL
  • Sublime Text
  • Tumblr
  • Uncategorized
  • WampServer
  • Web
  • Web Design
  • Windows
  • Wordpress
  • XenServer












Web Developer Blog Proudly powered by WordPress