This is a discussion on "Why when I download code does it open up all on one line?" within the Web Page Design section. This forum, and the thread "Why when I download code does it open up all on one line? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Why when I download code does it open up all on one line?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
I have been editing an HTML file and CSS file which were nicely formatted. I download from another PC to re-edit and both scipts code is all on one line? Lost it's line breaks. Any idea why?
|
|
|
|
||||
|
Re: Why when I download code does it open up all on one line?
Possibly the chaneg in the way *nix systems vs Windows systems represent new lines and tabs.
Windows represents new lines with \r and *nix \n so unless the editor you are using keeps this in mind it may cause the problem.
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
|
||||
|
Re: Why when I download code does it open up all on one line?
Notepad++ has some cool features for converting files from *nix to Mac to Windows formats...
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
||||
|
Re: Why when I download code does it open up all on one line?
Generally you should use nix line breaks. Most editors will let you specify.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Open Source of Open Thoughts | Rakuli | Free Web Site Critique | 5 | Feb 14th, 2008 07:03 |
| Download button - to download a PDF file | attila001122 | Web Page Design | 3 | Dec 9th, 2007 16:09 |
| Open Thource - For Open Source Thoughts | Rakuli | Free Web Site Critique | 44 | Oct 9th, 2007 09:51 |
| help! need search facility code to open in new window | metamuse | JavaScript Forum | 0 | Jul 15th, 2007 15:01 |
| try to open php and asks if i want to open or save file | steven rowlands | PHP Forum | 6 | Feb 20th, 2007 21:42 |