[html5] Borders: Firefox 3.5 vs. HTML 5

Henri Sivonen hsivonen at iki.fi
Mon Jul 6 06:26:22 PDT 2009


On Jul 6, 2009, at 05:54, J David Eisenberg wrote:

> The following markup gives odd borders for the header and footer and
> article in Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1)
> Gecko/20090624 Firefox/3.5.
> Specifically: the top and bottom borders do not appear at all. If I
> remove the <p> in the <section> and <nav> elements, then the entire
> border appears.
>
> I presume that this is the expected (and correct) behavior; which part
> of the spec have I not read carefully enough?


Try adding

header, article, nav, section, footer { display: block; }

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/





More information about the Help mailing list