Forum Moderators: phranque

Message Too Old, No Replies

LF vs CRLF in apache/php

         

flycast

2:25 am on Mar 16, 2007 (gmt 0)

10+ Year Member



I am using Apache to parse css files with css. The problem is that when apache/php does its thing the result is a file that has LF at the end of the line rather than CRLF. This makes Firefox ignore the rules but it works just fine in IE6.

How can I force CRLF in CSS files in apache?

coopster

3:35 am on Mar 16, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I'm assuming you meant that you are using PHP to parse the CSS files, right? I am not so sure PHP is your issue yet ... can you explain your problem in more detail?

jdMorgan

2:25 pm on Mar 16, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> When apache/php does its thing the result is a file that has LF [...]

Are we parsing CSS files with PHP, or are we generating CSS files with PHP?

Jim