See below... Sent from iOS 5
On Dec 1, 2011, at 5:40 PM, "Jukka K. Korpela" <[email protected]> wrote: > 2011-12-02 0:17, [email protected] wrote: > >> I'm having trouble some issues with fonts within a P tag. They won't >> alter their current style, regardless of what I try. The site is >> _www.travelexperienceclub.com_ (http://www.travelexperienceclub.com) . > > As far as I can see, all the font settings there for P elements use > font-family:Arial, Helvetica, sans-serif; > (somewhat redundant, as you could set that simply in one rule using the > universal selector *, then just override it for some elements if needed) > and various px values for font-size. And they seem to do the expected thing > when I test on Firefox 8 and IE 9 (on Win 7) - with the usual caveats of > course (as a user, I can set a minimum font size in Firefox, and I can tell > the browsers to ignore font faces and sizes suggested on web pages). > > Is there some particular P element that is not rendered as expected? What > would be the expected and actual rendering then? > > There are several markup errors on the page (as reported by > http://validator.w3.org), and while some of them are essential, I don't think > they affect font issues. And there is one CSS syntax error (as reported by > http://jigsaw.w3.org/css-validator/): line 280 has > margin:10px 0px 0px; 0px; > where the first semicolon ";" should be a comma ",". But this doesn't affect > fonts. Ive never seen a margin spec such as: margin: 10px 0px 0px, 0px; as suggested. I cannot look at code right now. What is that spec for? And units specified on 0 is unnecessary. So margin: 10px 0 0 0; will work fine. Matter of personal preference I guess but you'll save some bites if used a lot. > Yucca > ______________________________________________________________________ > 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/ ______________________________________________________________________ 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/
