Forum Moderators: coopster & phranque

Message Too Old, No Replies

mod_perl: line breaks disappear when serving .CSS

         

bryndyment

12:37 am on Apr 30, 2003 (gmt 0)

10+ Year Member



Hi,

(This should be an easy one, for the right kind of person.)

I'm using mod_perl/Mason (the Mason part probably doesn't matter). When I serve a .css file, and "View Source" on the browser, the line breaks have disappeared.

This doesn't happen with the .htm pages that I serve. And, when the .css file wasn't being handled through mod_perl, it would arrive at the browser with line breaks intact.

Ideas?

jatar_k

5:13 am on Apr 30, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



sheesh, where are the perl folk when you need them, someone's got to step up. ;)

idiotgirl

5:20 am on Apr 30, 2003 (gmt 0)

10+ Year Member Top Contributors Of The Month



Not using mod_perl/Mason, all I can guess is that it may handle new line wraps on certain extensions (.html, .txt, etc.) a certain way and perhaps .css needs to be added to those format types? Or, maybe it's the # at the beginning of the line of some of your class/id declarations?

Sooner or later, one of the perl gurus here is bound to know exactly what the problem is. The great thing about this board is nearly everyone has seen everything before, no matter how obscure one might think their problem is.

bryndyment

3:40 pm on Apr 30, 2003 (gmt 0)

10+ Year Member



I await with great anticipation!