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>