Hi Nickolay, Using absolute sizes like px/mm/in was suggested to me. In this case, that will solve the problem, but on webpages (non-extensions), I'm told I *must* use relative sizes so that browser resizes and View->Text Size changes in the browser scale correctly. I don't know if it's accurate that the page won't scale correctly unless relative sizes are used, but it sounds reasonable.
Thanks, Eric ----- Original Message ---- From: Nickolay Ponomarev <[EMAIL PROTECTED]> To: Mozdev Project Owners List <[email protected]> Sent: Tuesday, June 19, 2007 4:12:34 AM Subject: Re: [Project_owners] CSS help On 6/18/07, Eric H. Jung <[EMAIL PROTECTED]> wrote: > This isn't strictly an Firefox/Thunderbird add-on problem; I've encountered > it with plain HTML/CSS, but now I *am* encountering it with an extension. > The problem I'm trying to solve is how to use font-size to scale a button > inside a heading (h1, h2, d3) element so it appears the same size as buttons > *not* in a heading element. The best I've been able to do is approximate > things by trying different font-sizes, but is there a way to explicitly make > them equal sizes? > Use a size in pixels, like input {font-size: 16px}? The issue is that the "em" unit is relative to the font size of the parent element, and the h3 has an increased size. (See http://www.w3.org/TR/REC-CSS2/fonts.html#font-size ) There are other workarounds possible, once you know the cause of the problem. Nickolay _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
_______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
