CSS and Style Ordering Error

rated by 0 users
This post has 1 Reply | 0 Followers

Not Ranked
Posts 9
Points 265
sirshannon Posted: Wed, Aug 16 2006 8:16 AM
in the default theme, there is a font-size style added in the head:

<style type="text/css"> body { font-size: 84%; } </style>

 

On the home page and weblogs home page, this comes before all linked style sheets.  On the blog page, it comes after the linked style sheets.  This means that if you specify the font-size in Common.css, the font size on the blog page will be sized down to 84%. 

You can view source to see the ordering problem on these pages:

Before the CSS links (most pages are like this): http://communityserver.org/forums/167/ShowForum.aspx?PageIndex=4&sb=0&d=1&df=9&uf=0&hrp=0&lf=0

After the CSS links:
http://communityserver.org/blogs/dailynews/archive/2006/08/15/543791.aspx


I worked around this by adding an id to the body tag in the Master, then styling that in Common.css so that the 84% font-size is ignored.

Does anyone know how to remove that as a workaround until this bug is fixed?  [just in case someone objects to it being called a bug, the C in CSS is "Cascading".  The order of the style definitions is absolutely important.]
Not Ranked
Posts 7
Points 95
Futzy replied on Tue, Jan 16 2007 11:43 PM
Let me second that this NEEDS to be fixed and is an unacceptable bug.  But I do appreciate someone else figuring out a good workaround, because I've been tearing my hair out looking for an answer to this for the last few hours.  Frankly, I paid an awful lot of money for software this buggy and poorly documented.
Page 1 of 1 (2 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com