Reply to Re: Need help with font selection

Your name:

Reply:


Posted by Jukka K. Korpela on 03/30/07 06:44

Scripsit Cogito:

>> <p>Here is a picture of a queen: &#x2655. And here is another
>> one: &#x2655. And yet another: &#x2655. Here are 3 in a row:
>> &#x2655 &#x2655 &#x2655</p>
>
> Looks simple enough but it does not work here... what is missing?

You didn't do as _I_ wrote (and as HTML specifications do in their
examples):
&#x2655;
By the specifications, the semicolon is not always required (e.g., in the
occurrences in the above markup), but it has always been good practice in
HTML to include it. For some odd reason, IE 7 decided to refuse to recognize
&#x2655 without the semicolon. Moreover, the semicolon _is_ required in
XHTML, so maybe you used XHTML on an XHTML-capable browser.

Moreover, you may have missed the font issue I mentioned. So if you have
<td>&#x2655;</td>
it's useful (for IE) to have
td { font-family: Arial Unicode MS, Code2000; }
in your stylesheet.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[Back to original 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

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