Reply to Re: padding on image in IE

Your name:

Reply:


Posted by Jukka K. Korpela on 09/28/57 11:24

"windandwaves" <winandwaves@coldmail.com> wrote:

> I have an image with a class that has padding associated with it,
> however, in IE the padding does not seem to be applied.

Sounds like IE running in "Quirks Mode".

> http://www.corstorphine.co.nz/test/orderform1.php?p=1

Yep. You can fool the fool (i.e., make IE run in "Standards Mode", i.e. in
less nonstandard mode) by using a DOCTYPE declaration that has the exact
spelling of the declaration described in the HTML 4.01 specification:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

(And put it first in the file. A blank line might not hurt, but I wouldn't
take the risk.)

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

[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

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