|
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]
|