You are here: Re: Spaced out Line Spacing « All PHP « IT news, forums, messages
Re: Spaced out Line Spacing

Posted by J.O. Aho on 11/11/06 12:09

sTony wrote:
> Ok, so I've got my "live edit" working, but it's not quite perfect. I can
> edit the different pages of my website from within my website, but when I
> then view the source of a page in my regular text editor, everything is
> double spaced. I think this might be related to \n\r. I'm on a windows 98
> box and I'm using fwrite to update my file. Any ideas as to why this
> spacing is happening, and what can I do to fix it.

As you haven't shared your code, it's not easy to say why, but yes \n\r does
result in double line feeds in most system, except those that microsoft
created in the beginning like ms-notepad, all others uses only a single \n for
a new line (and do the move back the cursor back to the beginning of the line).


//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация