CSS not loading, loading intermittently
Last Post 01/12/2015 10:36 AM by Joseph Craig. 1 Replies.
Author Messages
Joe
Nuke Newbie
Nuke Newbie
Posts:1


--
01/09/2015 2:01 PM  
I am having a terrible time with my module in DNN 7.2

I created a module with its own css (module.css), located in the same directory as the aspx file.
The page loads, but the CSS is not all there. (I see the rounded corners, but I have a font color for the edit and delete links) These are showing up white, and they should be blue.

When I use the debug console, it shows module.css failed to load, 404 file not found. I confirmed that when I open the file, it fails).

I had another module do this exact thing, and I thought it was fixed, but no, it seems to be intermittent. When the module.css does load, this link still shows up as white on the page. It is being overwritten by default.css and reset.css with is the skin.

I am not sure if this is a DNN issue or an IIS issue .

I have attached a picture of the failed load. It must be getting loaded somehow, because the rounded corners are from the module.css only, same with the header color and footer colors of the gridview.

I am using this:
 <link href="module.css" rel="stylesheet" type="text/css" /> 

in my aspx page. The CSS shows up in visual studio.

Any ideas?

Joseph Craig
DNN MVP
Posts:11667


--
01/12/2015 10:36 AM  
Are you using a template for the modules, or are you doing it yourself?

You might want to take a look at these:

http://stackoverflow.com/questions/...nn-modules
http://www.ventrian.com/blog/includ...ke-modules

Joe Craig, Patapsco Research Group
Complete DNN Support


---