I need use ascii character as a bullet point with html content in swing application. I found this article and it works with browser exactly i want but not with java. I suppose that css tags won't supported in java according to this. May be i'm wrong.
I like to know is there a workaround for this. Another constrain that i have is not to use images as bullet points. Thanks in advance.
HTML实体可以工作吗?
• • •
您可以这样:
styleSheet.addRule("ul{list-style-type:circle;margin:0px 20px;}");
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.