If your module has a file called module.css in the root folder of the module, it is automatically included on the page using the module.
For other CSS and for JavaScript, you should use Client Resource Management to enable the necessary resources. Something like that:
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.Client.ClientResourceManagement" Assembly="DotNetNuke.Web.Client" %> <dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/MyModule/css/the-style.css" /> <dnn:DnnJsInclude runat="server" FilePath="~/DesktopModules/MyModule/js/the-script.js" ForceProvider="DnnFormBottomProvider" />
source share