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 are the benefits of using css?

773


Explain the difference between css2 & css3?

720


What is an iframe?

776


What is the difference between padding and margin?

740


What is css rule?

651


What are the text properties?

648


How are css files saved?

702


Is html5 a programming language?

722


What is the difference between css2 and css3?

743


How to style forms?

657


How do you vertically align text?

651


What is float in css for?

709


Is html considered coding?

705


What is margin in css?

761


Which value of cursor property changes the cursor to a question mark?

631