Maybe just have a seperate style sheet for each module? At the beginning of each code section you're calling just include your CSS link:

  <style type="text/css" media="screen">
   @import url(css/style.css);
   </style>

On 6/15/06, Alex Duffield <[EMAIL PROTECTED]> wrote:
I am working on an update to my content management system and I am using a lot of AJAX to load in the different "Modules"

I want each module to be self contained, including all its specific js and CSS. 

Does any one know of a good solution for loading in new CSS to go with the code loaded in via the AJAX call? 

Thanks.

______________________________________________________________________

Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  





_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs



_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to