Reply to Re: HTML Space Rendering in IE7

Your name:

Reply:


Posted by Dan on 01/30/07 05:21

On Jan 29, 10:49 pm, "Dan Groberg" <grobergs...@gmail.com> wrote:
> Hey guys,
> I was wondering if you could check something out for me. I have
> inserted spaces using &#x0020; code onto my site thenews.choate.edu
> (for Click Here for RSS Feed under front page image) and it seems to
> be showing up as text on my IE7. Can you see if you're having the same
> issue? If so, any clue why and/or how it can be fixed?

I saw some code like "&#x20&#x20&#x20&#x20", which leaves out the
semicolon; it's a good idea to use the semicolon even if in some cases
(maybe this one) it's permissible to leave it out. Why encode spaces
anyway? If what you're aiming for is a nonbreaking space, you need
&nbsp; or &#xA0; (&#160;) anyway.

A bogus reference you're also using is "&#149;", which is in the range
from 128 through 159 which is undefined for use in HTML (it's in a set
of control characters in Unicode). You seem to be expecting it to
mean the character that is in that position in a proprietary platform-
specific character set.

Some more code that ought to be taken out and shot:

<td><font face="Times New Roman, Times, serif"><font face="Arial,
Helvetica, sans-serif" size="1"></u><a href="/arts.shtml">Arts
&amp; Leisure</a></font></font></td>

Note the setting of a serif font, overridden immediately by a nested
font tag setting a sans-serif one; it's then followed by a closing tag
for an underline element (no opening tag in sight).

--
Dan

[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

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