Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# rabol 11/11/2005 3:30 AM
Hi

What is the best way to add CSS to a module.
As far as I can see, PageEngine "only" support a single CSS file.

Best
Steen
# martijnb 11/11/2005 4:39 AM
I've also been thinking about this. With the current version there is no solution available.
A future solution might be to add a css attribute to ModuleType. The PageEngine should then check if the module has a stylesheet and register it in the page (after checking if it isn't registered yet).
# gedw99 10/17/2006 6:25 PM
I agree.

The css file gets very large causing bloat.

Breaking it ito a per Module css would be great..
# martijnb 10/18/2006 4:16 AM
We already have it since 1.0. The PageEngine has a method to register stylesheets that can be used by module controllers to register their own stylesheets.