Search code examples
csstwitterfonts

css font twitter like close button, what did I missing?


twitter has it's close button which is a single character 'x'.

and i need to something like that, but after i inspect the <span>x</span>, i create the css rules as the firebug told me :

.close-button {
    font-family: Tahoma,Arial,sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    font-style: normal;
    color: #888;
}

however, they just never looks the same, what did i missing??

twitter:

this is the twitter close button.

mine:

this is my close button.c

for more information: http://jsfiddle.net/bitsmix/gb23A/


Solution

  • It's not an alphabetical "x" look closely at the character × x X.. it's ascii

    × (Multiplication Symbol) ALT+0215