Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How could you use CSS to achieve the following automatic numbering?

Answer Posted / hrpynux@gmail.com

Initialize the counter on the parent div using counter-reset.
Increment the counter value by 1 on the child div p using counter-increment.
Add the counter variables before the div p content using the :before pseudo selector.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is css and what are its advantages?

748


What are the 4 areas of the box model?

579


Can I use scss in css?

601


What is style book or style sheet?

679


What is the use of cascading style sheets?

727


What is the use of media types in css?

600


How does css hover work?

644


What is the float property used for in css?

622


What are the ways to assign a certain colour to an element in css?

568


How is the concept of inheritance applied in css?

997


What is the difference between id and class?

634


What is attribute selector?

702


What are the different web fonts formats in css?

703


What are the difference between css and css3?

659


What is the fee of css?

710