CSS files for plugins

Posted on
Thu May 14, 2009 6:59 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

CSS files for plugins

Matt & Jay,

I am trying to add external CSS file support for the plugins that I have made... But I can't seem to load the CSS file, I suspect that the web server might not be allowing the hosting of the CSS file in the plugin directory... Safari keeps reporting that it can't find the file, and I can't manually load it...
(eg. http://127.0.0.1:8176/Devices_On/Devices_On.css gives file not found)

Is there a preferred location for the CSS files to be stored with the current web server design?

Posted on
Thu May 14, 2009 9:05 am
matt (support) offline
Site Admin
User avatar
Posts: 21429
Joined: Jan 27, 2003
Location: Texas

Re: CSS files for plugins

Yes, put them inside a "css" folder inside the plug-in folder. You should then be able to access them from your plug-in HTML page like this:
Code: Select all
href="css/Devices_On.css"

Image

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest