Forum How do I...?

How do I use list-style-type: <string>?

kkunal
"list-style-type" CSS supports various value like check, disc etc I was going through documentation and found we can also use string.

Something like

.abc {
   list-style-type: "£";
}


The HTML looks correct and shows "£" for all list items but generated PDF replaces "£" with • (disc, the HTML default)


Is list-style-type: <string> supported by princeXML?

Reference:
https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type
mikeday
Prince does not support this syntax for the list-style-type property, however you can use something like this:
.abc li::marker {
    content: "£"
}