0

In my css i put:

nav label:AFTER {
   content: "  ▾";
}

But in chrome it display like this:

content: " â–¾";

i already add <meta charset="utf-8"/> in my jsp page and @CHARSET "utf-8"; in css file.

Hayi
  • 6,972
  • 26
  • 80
  • 139

2 Answers2

2

What about something like this:

HTML:

<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>

CSS:

ul{
list-style-type: none;
}

ul li{
display: inline-block;
position: relative;
margin-right: 10px;
}

ul li:after {
content:'';
position: absolute;
top: 10px;
right: -10px;
border-left: 3px solid transparent;
border-right: 3px solid transparent;    
border-top: 3px solid black;
}

And the Fiddle..

Goombah
  • 2,835
  • 2
  • 12
  • 22
0

Finally it's work just with

<%@ page contentType="text/html; charset=UTF-8" %>

i try this code at work but it didn't work but when i went to home it's work with my pc !

Hayi
  • 6,972
  • 26
  • 80
  • 139