[Cosmo-dev] Re: [commits-cosmo] (mde) 
Fixed dueling-stylesheets issue in login page,
removed old Cosmo Ui boilerplating.
travis at osafoundation.org
Thu Nov 30 10:35:25 PST 2006
One more quick question about this stuff:
On Nov 29, 2006, at 3:13 PM, Matthew Eernisse wrote:
> The 'dueling stylesheets' issue was the fact that because the
> Scooby login code was embedded in a Cosmo standard-layout page, it
> had both the old static 'cosmo.css' stylesheet in the standard.jsp
> boilerplate on top of the DOM-generated stylesheet from the Scooby
> UI code. (Actually because the dynamic CSS code assumed it was the
> first stylesheet on the page, it was inserting its rules into the
> cosmo.css stylesheet, which made stuff even weirder.)
Given this description, it sounds like including other stylesheets on
the page causes problems. Doesn't this defeat some of the purpose of
CSS, that is, to be able to provide page specific stylesheets as well
as global stylesheets?
Using your styler code, what would be the appropriate strategy for
using an "admin console" specific plain CSS stylesheet on admin pages?
More information about the cosmo-dev