Home > CSS > 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



Flag Counter