Previous Message
Next Message

rendering of icon in Windows browsers

Sent by Philippe Wittenbergh on 28 July 2016 06:06



> On Jul 28, 2016, at 12:21 PM, Sara Haradhvala [EMAIL-REMOVED]> wrote:
> 
> I think you’re right.  The problem is that I need to use a glyph from photoshop that isn’t
assigned a unicode value.  Is there any way to use this as text? Or does it have to be turned into
an svg image?

That would solve you problem as well. A SVG image would be ideal (resolution independent. But insert
it as a background-image, to cut down the noise for AT users. (I assume the icon is mostly
decorative)

li::before {
content: '';
background: url('path/to/icon.svg') no-repeat;
display: inline-block;
width: 16px;
height: 16px;
/* etc - adjust to taste and needs */
}

Philippe
--
Philippe Wittenbergh
http://l-c-n.com/





______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: