You are here: Re: difference IE an Mozilla « HTML « IT news, forums, messages
Re: difference IE an Mozilla

Posted by John Hosking on 05/23/07 15:45

Knut Krueger wrote:
> Ben C schrieb:
>
>> Put margin-top: 0 on the h3 as John Hosking suggested, or put
>> padding-top: 1px on <div id="sunshineheadline"> to keep the h3's margin
>> inside the div by preventing it from collapsing upwards against the
>> div's top margin.
>
> Hi Ben, Hi John,
> thx just wondering why padding: 0px 0px 0px 0px; does not work.

Do you mean, you tried padding: 0px 0px 0px 0px; on #sunshineheadline
and it didn't help? (As I understand Ben's suggestion, we're trying to
move the <h3> back down a bit, away from the top of the div. 0px [which
you've already got] wouldn't do that.) Or are you talking about
something else?

>
> but the most problem is the difference of the background image.
> http://localhost/sunshine/test.jpg

Not a useful link for us... ;-)

> the left sied is Mozilla the right side is IE.
> Normally Mozilla is correcting type mismatches, IE does not.

Without seeing the image, I can't be sure what you are talking about.
But I would say it's usually IE that comes up with some lenient
allowance (ein bisschen Kulanz) when faced with invalid code (which was
probably produced by FrontPage or other MS "product").

--
John

 

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

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