News Ticker

Menu

How to keep list style indent for second line in ordered or lists via CSS?

How to keep list style indent for second line in ordered or lists via CSS?




please check below images and code ,

before 


    Please add below code in to css
    

.ul li {
    padding: 0;
    margin: 0;
    list-style: inherit;
    list-style-position: inside;
    text-indent: -1em;
    padding-left: 1em;
}

    

after  


test link https://jsfiddle.net/dzbos70f/

Thanks





Share This:

Jithesh P R

I'm Jithesh P R creative Graphic and web designer. I have a passion for designing creative Graphics and modern Websites, Specialized in creating W3C standard websites And WordPress based CMS Websites..

1 comment to ''How to keep list style indent for second line in ordered or lists via CSS?"

ADD COMMENT
  1. Outsourcing software development to Easterm Europe is quite popular as it offers an attractive cost-to-quality ratio, not merely low rates like in India or China. Geographically all these countries are in a close proximity to each other and Western Europe. But still they have a range of differences. Check out this article to learn more about Eastern Europe software outsourcing .

    ReplyDelete

  • To add an Emoticons Show Icons
  • To add code Use [pre]code here[/pre]
  • To add an Image Use [img]IMAGE-URL-HERE[/img]
  • To add Youtube video just paste a video link like http://www.youtube.com/watch?v=0x_gnfpL3RM