Posted by jojo on 12/01/15 11:53
BootNic schrieb:
>> "haig" <hg@dskkdlz.kb> wrote:
>> news:mD5vg.543822$2t2.13097032@phobos.telenet-ops.be....
>>
>> Hi
>>
>> I've been struggeling with some aligning with css. Ofcourse
>> it would be relatively easy if al browser were "the same".
>> Now take a look at this site if you like
>> http://users.pandora.be/wptst
>> As you can see it's just for testing. Is this the good way to
>> align some title, text, and navbar or are there beter? The
>> navbar and intro are behaving strange if I resize the browser.
>> Just some tips to do some good aligning are also welcome. How
>> do you guys work around the fact that IE interpretes some
>> things really weird?
>
> If you were to take IE out of quirks mode, your test.html would view in
> IE similar to Opera and Mozilla.
In IE 6. The older versions still view it falsely. /They/ do not have
any QUIRKS-mode which can be switched off, it's default to view it
wrong. The QUIRKS-mode was invented because IE 6 *can* view it right, so
all pages which offered workarounds for IE were interpreted *wrong* (or
at least not the way IE was supposed to interpret and view them).
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
>
> not
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>
> From your example I see no reason not to use
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
>
[Back to original message]
|