Loading ...
Sorry, an error occurred while loading the content.

12845RE: [ydn-javascript] Re: issue with grid layout on IE 6 when changing font size

Expand Messages
  • Mike Lee (YUI)
    Apr 30, 2007
    • 0 Attachment
      Hi Sanjiv,

      Cool, I'm glad you were able to resolve the issue. And yes, because of
      the relative nature of measurements such as percentages and ems, they
      are additive. So a 95% on the body and a 77% on a paragraph will give
      you 77% of 95% - and that's why it gets so small.


      From: ydn-javascript@yahoogroups.com
      [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Sanjiv Jivan
      Sent: Monday, April 30, 2007 4:29 PM
      To: ydn-javascript@yahoogroups.com
      Subject: Re: [ydn-javascript] Re: issue with grid layout on IE 6 when
      changing font size

      Thanks for the explanation. I was able to get the desired result by
      adding a rule

      p {

      to get my font size to 10px. Note that based on the font adjustment
      chart here : http://developer.yahoo.com/yui/fonts/#fontsize

      a font-size property of 77% corresponds to 10px, but with a p {
      font-size :77%;} rule the fonts get really small (like 6 or 7px). I
      guess that the percentage value I put in here is a percentage of the
      fonts that are already scaled to em's. I'm just guessing here, and would
      love an explanation.

    • Show all 7 messages in this topic