"Ian Davey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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>
> >
> ><DIV><H1>title
> >
> >Makes no vertical space at MSIE
> >Mozilla 0.97 makes a vertical space
> >
> ><DIV>
> >bla bla bla bla bla
> ><H1>title
> >
> >Both browser make a vertical space bewteeen bla bla bla
> >and the title.
> >
> That's what I'd expect, the H1 has a default top margin and so does the
> DIV. You could do something like this in CSS to get it to display
> exactly how you want:
>
> div h1 {margin: 0 0 0.5em 0}
>
> Which will set all margins to 0 apart from the bottom one,

But I do now want this.
I want exactly the behavior of MSIE

if in the middle of a block than make top margin
else                                        make no top margin


--
Roland M�sl
http://pege.org Clear targets for a confused civilization
http://BeingFound.com Web Design starts at the search engine

Make a top margin i



Reply via email to