RE: NetBeans 8.0.2 - External .CSS file not rendered properly - intermittent problem...
DATE: 9/3/2015
Follows is the problem:
BACKGROUND:
I am running/developing a PHP program that contains HTML. For whatever reason, I was initially applying 'css styles' within the HTML file itself (internally) between 'style' tags. This worked wonderfully. The Web Page being 'worked on' responded/rendered as expected, applying the '...css styles...' as expected.
Preliminary to My PROBLEM:
I have now set-up an external 'css file' ('filename.css') as follows:
link rel="stylesheet" type="text/css" href="./css/styleSheetForm.css" PROBLEM:
My problem is that NetBeans does not consistently '...respond...' to the code I place into this 'external css file'.
TO BE MORE PRECISE on my problem (see below):
I place a line of '[test] code' in the HTML file (for example: Hello there Mary...).
I then go to the 'styleSheetForm.css' file in the NetBeans IDE and change the color of this '[test] code' to be 'color: red;'.
I got back to the HTML file in NetBeans and press SHIFT-F6 to 'Run' the Web Page.
Unexpectedly, 'Hello there Mary...' does not render in 'red;'! 'Hello there Mary...' displays/renders in the color it was before I made the change to make it 'red;'.
ADDITIONAL INFO:
This problem I describe above does not consistently 'Happen'! This problem I describe is intermittent.
POSSIBLE CAUSE(?!&#!):
For some reason - at certain times - the NetBean IDE is not 'picking-up'/referring to the external 'css' file.
QUESTION:
Anyone out there experience this same problem and/or have a solution?
OBSERVATION:
Unless I'm doing something wrong (possible!) this should not be happening - what I describe above. Shakes my confidence in this IDE.