You are here: Re: Is there an up down arrow for html? « HTML « IT news, forums, messages
Re: Is there an up down arrow for html?

Posted by Jukka K. Korpela on 09/08/05 22:29

"dungping" <dungping5@yahoo.com> wrote:

> I tried both.

Huh? Country _and_ Western? Or up and down? Please learn to quote what you
comment on. (See http://www.cs.tut.fi/~jkorpela/usenet/ for pointers.)

> &#8597; is an up and down arrow,

It is "up down arrow", by the official name.

> and exactly what I needed.

Perhaps.

> But &#8661; doesn't display.

It still _is_ "up down double arrow". Whether you see it depends on many
things, such as the font(s) in use, and browser. Does this ring a bell as
regards to &#8597;?

There are lots of arrow characters in Unicode, see
http://www.alanwood.net/unicode/arrows.html
And you can, in principle, use any of them in HTML. Contrary to popular
superstition, you are not limited to those that have entity names like
&harr; (which are of rather little use in practice). What matters is how
well browsers display different characters. &#8597; is _relatively_ safe,
since it belongs to the Windows Glyph List, so common fonts on Windows
systems usually contain it. But it's still an unnecessary risk, unless you
really gain something by using that character, as opposite to an image.

> Probably an instruction needs to
> be written into the header area, to display it.

No. This is much more complicated than you think. _If_ you wish to use a
fancy arrow _character_, start reading e.g.
http://www.cs.tut.fi/~jkorpela/html/chars.var

> But I've already got what I wanted.

I'm afraid you haven't understood the issue. Neither have we, since we
don't even know what the original problem (which the up down arrow
character is supposed to solve) is. Thus we cannot estimate how much it
matters that 42 %, or some other number, of visitors will see just a small
rectangle or a question mark, or something. The odds are that it would be
much more appropriate to use a small image, with a decent alt text that
expresses the intended message (roughly, what you would say if you read
your page over the phone).

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

 

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

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