[PATCH] make CSS for docs compatible with IE

Martin Pool mbp at canonical.com
Thu Sep 28 06:19:08 BST 2006


On 26 Sep 2006, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Alexander Belchenko wrote:
> > I make changes to font size declaration. This changes makes documents
> > looks almost identical in both browsers. As example see attached
> > ie-patch.png image -- how looks index.htm with new default.css in IE.
> >  body {
> >    background-color: #ffffff;
> > -  color: #303030;
> > +  color: #000000;
> >    margin-top: 50px;
> >    margin-left: 50px;
> >    margin-right: 50px;
> >    margin-bottom: 70px;
> >    font-family: Verdana, Geneva, Arial, sans-serif;
> > -  font-size: small;
> > -  line-height: 180%
> > +  line-height: 180%;
> >    }
> >  
> > -/* p {
> > -  text-indent: 3em
> > -} */
> > +p {
> > +  font-size: 85%;
> > +}
> 
> It doesn't seem like good style to set the font size for paragraphs,
> because not all text falls in paragraphs, but all body text should have
> the same base attributes.  Is there a reason we can't set the font size
> in the body, instead?

I don't understand why we need to change the default font size *at all*.
If the user set their browser to 14pt why not use 14pt for the body?

-- 
Martin




More information about the bazaar mailing list