On Jul 28, 2011, at 2:36 PM, Ghodmode wrote: >> you can check athttp://www.expressionofmind.com/ >> >> thanks I really need some help. > The first problem I noticed is with the names of your fonts. I stole this > line directly from the spec: > >> To avoid mistakes in escaping, it is recommended to quote font family names >> that contain white space, digits, or punctuation characters other than >> hyphens
Right, that is some advice or recommendation, not a requirement. Left unquoted works fine. On the other hand, it is a good practice (amongst other things, it improves readability :-) ) FWIW, url for that part of the spec: http://www.w3.org/TR/CSS21/fonts.html#font-family-prop > It might not be matching one font on the Mac, and another one on the PC (or > on the Mac)... Is that font's name "Myriad Pro" (uppercase 'P')? That doesn't matter, browser normalise to lowercase during parsing of the stylesheet, I think. > > Do the fonts exist on the PC? For example, my system doesn't have "Myriad > pro", "Lucida Grande", or Calibri, so it would fallback to sans-serif and > probably look much different than you intended. Calibri is installed on Windows Vista and up by default, and anyone who has installed MS Office 2007 or newer. Lucida Grande is installed by default on OS X, Myriad Pro comes with Adobe CS suite. So there should be something for every platform. That said, you make a good point below: > The font replacement shouldn't really affect the font size, but it would > definitely make it look different. Both Myriad Pro and Calibri have a smallish aspect ratio, whereas Lucida Grande, and the default sans-erif font on most platforms have a large aspect ratio. That could give the impression that font size is different. But this doesn't explain why the font-size would change between a:link and a:visited or from page to page. I've tested that on OS X, Linux Ubuntu and Win XP with different browsers, and I can't reproduce it. Nor do I see anything in the stylesheet that would justify that behaviour. Philippe -- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
