Roland M�sl wrote:
> Look at http://web-design-suite.com
> 
> The title line is with Mozilla 0.97 to deep.
> 
> This seems to be a problem, because
> <H1> starts to write after some space from the
> begining of the <DIV>
> 
> MSIE starts the <H1> at top left of the <DIV>

Well, the page is not valid HTML: http://validator.w3.org/. The best way 
to get Mozilla (and many other browsers) to render your page properly is 
to write valid code.

Since your page does not have a DOCTYPE at the top, you are triggering 
quirks mode, which does lots of nasty stuff to try to be backwards 
compatible with NS4, kind of.

The other main problem with you HTML is that you aren't putting quotes 
round arguments. So, e.g. <html lang=en> should be <html lang="en"> 
(although I expect that Mozilla will cope with this bit).

> <DIV><H1>title
> 
> Makes no vertical space at MSIE
> Mozilla 0.97 makes a vertical space

And probably also in Mozilla in strict (not quirks) mode.

> <DIV>
> bla bla bla bla bla
> <H1>title
> 
> Both browser make a vertical space bewteeen bla bla bla
> and the title.

Of course. It's all in the CSS spec.

Tim.


Reply via email to