You are here: Re: Hyphens and IE, an observation « HTML « IT news, forums, messages
Re: Hyphens and IE, an observation

Posted by Safalra (Stephen Morley) on 10/25/07 18:45

On Thu, 25 Oct 2007 20:33:35 +0200, Els wrote:
> Which one on my keyboard is the minus and which one is the proper
> hyphen?
>
> [...]
>
> I guess I'm using minus-hyphens then?
> hyphen next to the 0 key on my keyboard: -
> hyphen above the + on my numeric pad: -
> Are they real hyphens, or minuses?


The character you get by pressing the '-' key on your keyboard is a
hyphen-minus. It's a relic from ASCII, where it was used to represent a
range of characters - hyphens, dashes, and of course the minus sign. In
Unicode these all have different code points, and there's also the 'soft
hyphen' (which indicates where a work can be broken) to complicate matters.
In HTML the character entity references –, —, −, and
­ can be used to identify some of these, but numeric entity references
or a suitable character encoding are needed for others.


--
Safalra (Stephen Morley)

Web Typography:
http://www.safalra.com/web-design/typography/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация