You are here: Re: Please Help, gap problem « HTML « IT news, forums, messages
Re: Please Help, gap problem

Posted by Mark Parnell on 06/16/05 09:44

Previously in alt.discuss.html,alt.html,alt.html.tags, Jeff
<Jkoops@shaw.ca> said:

[Removed alt.discuss.html as it doesn't exist on my newsserver;
followups set to alt.html]
> Here is my problem, I can't seem to figure out how to eliminate the
> little gap between the right side of image /shop.jpg and the edge of the
> table.

So you said earlier, and you still haven't provided a URL. :-(

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

This a legacy document? If not, why aren't you using Strict? That
doctype will trigger Quirks mode in most modern browsers, too.

> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">

If the server isn't sending the content-type HTTP header, the server
configuration needs to be fixed; a <meta> hack is not appropriate.

Use a doctype that triggers Standards mode (preferably Strict), validate
your code, then if the problem still occurs, post a URL. I'd also
suggest you stop (ab)using tables for layout purposes.

--
Mark Parnell
http://www.clarkecomputers.com.au
alt.html FAQ :: http://html-faq.com/

 

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

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