The display property of CSS List-item List-style-type not show the problem solved

Source: Internet
Author: User
The display property of CSS List-item List-style-type not show

<!--The following is the XML document--><?xml version= "1.0" encoding= "GB2312"? ><?xml-stylesheet type= "Text/css" href= " Student.css "? ><! DOCTYPE student[<! ELEMENT Student (Stu) *><! ELEMENT Stu (Name,sex,height) ><! ELEMENT name (#PCDATA) ><! ELEMENT Sex (#PCDATA) ><! ELEMENT height (#PCDATA) >]><student><stu id= "A110" ><name>a</name><sex>male </sex>

Why not show Square's implementation box?
In addition, I tried disc, decimal, Lower-roman, Upper-roman, Lower-alpha, Upper-alpha, regardless of which external browser or XmlWriter internal browser, the display effect. Only if you try circle, the browser will see it in XmlWriter, and the other displays will look like the following.

To set List-style-position:inside

I don't know what you're writing about, but if it's me, I'll write it like this.

<?xml version= "1.0" encoding= "GB2312"? ><?xml-stylesheet type= "Text/css" href= "Student.css"? ><! DOCTYPE student[<! ELEMENT Student (Stu) *><! ELEMENT Stu (Name,sex,height) ><! ELEMENT name (#PCDATA) ><! ELEMENT Sex (#PCDATA) ><! ELEMENT height (#PCDATA) ><style>student{display:list-item;list-style-type:square;font-size:24pt;} </style><student><!--<stu id= "A110" ><name>A</name><sex>male</sex> 

Related Article

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.