style.css (and other files) messed up after saving in Netbeans/Notepad
-
Hi,
I have set up a project in Netbeans with existing WordPress files, downloaded from the live server of a site. The encoding of the project is UTF-8. The problem is, whenever I save a file (style.css for example) in Netbeans, it messes up my code, and WP doesn’t recognize it in the theme editor. The code doesn’t have any line breaks, but looks like this:
z-index: -1; overflow-x: hidden; }#header { width: 100%; height: 130px; overflow-x: hidden;}#footer {...}
ie. one big line of code, which makes WP not recognize the css template. Same thing with .php files and also if I save in Notepad++.
How do I solve this? Do I have to use ANSI? How do I use ANSI in Netbeans? I don’t see it in the encoding list in the project setup.
Any experience with this issue will help. Thanks!
- The topic ‘style.css (and other files) messed up after saving in Netbeans/Notepad’ is closed to new replies.