Stylesheet isn’t formatted
-
Sorry for this very basic question, but when I open the stylesheet in Notepad it’s a jumbled mess. What am I missing? I’m opening it through an FTP editor. what do I need to do to open it and have it be formatted so it’s at least readable?
Thanks.
-
Sounds like a linefeed problem, in that the files use the UNIX newlines format, and Notepad cannot read them. Two options:
Get a program to convert the linefeeds to DOS:
http://www.wischik.com/lu/programmer/crlf.html
Use a text editor that understands UNIX-style linefeeds, like Notepad++:
To tidy it up properly: http://flumpcakes.co.uk/css/optimiser/
That removes all commenting though, so if you need that, keep the original.
I went to the Notepad link, but am not a programmer with VC++ so cannot build the executable. Is there something easier?
Notepad 2 from http://www.flos-freeware.ch
I’m no coder either, but you want this:
http://sourceforge.net/project/showfiles.php?group_id=95717&package_id=102072
then get this:
http://prdownloads.sourceforge.net/notepad-plus/npp.3.0.Installer.exe?downloadNote the Download npp.#.#.Installer.exe file links at the first url podz points to.
Got it! Thank you!!!
Is this program riddled with Spyware????? I run Spybot every day. And every day since I installed Notepad ++ I have Avenue A and Doubleclick spyware on my system. Is anyone else having this problem ? The only systems I’ve used in the last week are WordPress dashboard, Notepadd ++, IPSwitch FTP (licensed version), Firefox, and Outlook.
Is this program riddled with Spyware?
Nope. I suspect that this is more likely down to an IE exploit.Simply viewing a webpage in an unsecured/non up-to-date version of IE can open you up to various nastiness.
I haven’t used IE in over a week. Only Firefox. Afer cleaning spyware with Spybot, then running Firefox and WordPress Support, Codex, or the Dashboard, the spyware is back.
Then you haven’t ever successfully cleaned it out. And I doubt you’re running a firewall. ZoneAlarm has a perfectly adequate free version so there’s really no reason not to. That way even if it gets on your system, it’ll be blocked from “phoning home”.
Thank you for the input. According to Spybot, I have cleaned this out numerous times today, yet it keeps coming back. No AOL. No IE — nothing that presents obvious vulnerability and I’m using Windows Firewall.
I’ll will look into this on the MS forums. Thank you.
Any banner ad and any popup ad that you run across while using Internet Explorer may install spyware. WordPress, and the sites on wordpress.org do not install spyware.
I second vkaryl above in recommending Notepad2, if you’re so unlucky to be using Windows. π
If you’re on Linux you almost certainly have a good editor already, which will handle Unix-style line-endings just fine. I guess the same would be true for OS X.
fyi, opening a unix file in dreamweavermx/windoze automatically “converts” it, so if you already have dreamweaver you don’t need to download and install another program.
The topic ‘Stylesheet isn’t formatted’ is closed to new replies.