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 a universal selector in css?

610


What is the difference between internal and external style sheets?

625


What is the cascading order of the three types of css?

562


Explain the css box model and its different elements.

576


What are the limitations of css?

1233


How do you change inspect text?

684


What is inline css?

577


How can I make a template?

621


Why * is used in css?

636


What is webkit browser?

644


What is the difference between the html and css?

579


What is inline style in css?

599


How many ways to select html tag instances?

675


How do you organize css?

678


What is the difference between sass and scss?

684