Anyone have a problem with this—using a utf8 character in a list?
I guess I'll have to declare a utf8 standard in my html headers, no doubt. I want to replace the image-based checkmark icons I am using in my ul lists and these 2714s will do fine.
ul li::before {
content: "\2714";
display: inline-block;
margin-right:0.5em;
}
----below for ref only-----
ul {
font-family:sans serif;
padding-left:0;
margin-left:0;
list-style-type: none;
}
ul li {
padding-left: 2.0em;
font-size:0.9em;
margin:0.5em
Last edited by roland1; 03-31-2022 at 07:58 PM.
|