I just started using Netbeans and I love it, but I can't seem to find where to change the font of html id and class parameter values, and its currently the same color as my tags with a random background color.
I've been playing around in Tools->Options->Fonts->Syntax but I can't seem to find the correct rites and invocations to change this.
Where should I be looking?
Here is a technical read out that illustrates the problem:
The values for class and id attributes are actually CSS selectors, which have a different syntax highlighting than normal HTML parameter values. To modify these you should alter the value of the Selector category in the Cascading Style Sheets language in the syntax tab of the fonts & colors options screen.
What you are looking for is NOT in the Cascading Style Sheets
section like many are saying. What your looking for is in the HTML
section under the Fonts and colors
. Look for Css Embedded in HTML
. This is what you are looking for. Hope this helps.
*I'm using Netbeans 7.4
You can change the color from cascading style sheets under selector and restart NetBeans.
Can be changed through the Fonts & Colors options, then select the Cascading Stylesheet category and find "Mark Occurences" on the list. From there, you can change the background and foreground colors for that syntax.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With