8 nov 2013 03.09 Karl DeSaulniers: > > Ah I see. Well normally you wouldn't put an ID on the body anyways, you would > put a class wouldn't you? That is if your trying to style it.
What's the logic behind choosing a class attribute here? Is it mostly for semantic reasons? Semantically I can see the value of a class, provided that you may have several other pages of the same class and you will treat them similarly. This could be paginated pages or all pages under a certain division of the site in question. I've used this in navigation for instance. On the other hand each page is unique and if you want something specific for that unique page you could use an id both on the body element or the html element. I suppose your intentions would be made more clear in the css code if you peruse the id and class attributes this way. Then again, perhaps you had other reasons for this choice? ______________________________________________________________________ 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/
