If the <body> tag of each page had a class that corresponds with its URI:
<body class="questions">
<body class="tags">
<body class="people">
<body class="badges">
<body class="ask">
it would become very easy to apply specific CSS styles to specific pages:
body.tags div.AList { ..... } /* Rule applies to tags page only */
Done a while ago, a page name is added to the class at most pages (but not all yet - only those that required that for the styling).
For example, main page has class "main-page", also multiple classes are used everywhere, at the expense of not supporting IE6, which is almost extinct by now.
Also, added a document on skin customization: http://askbot.org/doc/customizing-skin-in-askbot.html
Asked: May 01 '10
Seen: 783 times
Last updated: Jun 13 '11
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.