CSS auto-increment serial number-result of number numbers in multiple ordered lists, and number in css serial number list

Source: Internet
Author: User

CSS auto-increment serial number-result of number numbers in multiple ordered lists, and number in css serial number list
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<Html xmlns = "http://www.w3.org/1999/xhtml">
<Head>
<Title> CSS automatically adds the sequence number Ordered List style </title>
<Style type = "text/css">
/* List 1 style */
# List1 {
Font: italic 1em Georgia, Times, serif;
Color: #999999;
}
# List1 p {
Font: normal. 8em Arial, Helvetica, sans-serif;
Color: #000000;
}
/* List 2 styles */
# List2 {
Font: italic 1em Georgia, Times, serif;
Color: #999;
List-style: lower-roman;
}
# List2 p {
Font: normal. 85em Georgia, Times, serif;
Color: #000;
}
/* List 3 styles */
# List3 {
Font: normal 1.1em Arial, Helvetica, sans-serif;
Color: #666;
}
# List3 p {
Font: normal. 7em Arial, Helvetica, sans-serif;
Color: #000;
Border-left: solid 1px #999;
Margin: 0;
Padding: 0 0 1em 1em;
}
</Style>
</Head>
<Body>
<Div> <A href = "http://www.999jiujiu.com/"> http://www.999jiujiu.com/</A> </div>
<Ol id = "list1">
<Li>
<P> display content, show content, show content, show content </p>
</Li>
<Li>
<P> display content, show content, show content, show content </p>
</Li>
<Li>
<P> display content, show content, show content, show content </p>
</Li>
</Ol>
<Ol id = "list2">
<Li>
<P> display content, display </p>
</Li>
<Li>
<P> display content, show content, show content, show content </p>
</Li>
<Li>
<P> display content, show content, show content, show content </p>
</Li>
</Ol>
<Ol id = "list3">
<Li>
<P> display content, show content, show content, show content </p>
</Li>
<Li>
<P> display content, show content, show content, show content
</P>
</Li>
<Li>
<P> display content, show content, show content, show content </p>
</Li>
</Ol>
</Body>
</Html>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.