Page 1 of 1

Strange CSS Behavior

Posted: Mon Feb 11, 2008 6:44 pm
by Daryn
Hi there. First and foremost, I love CMS Made Simple and avidly support it.  :)

Now onto my issue. It doesn't effect the functionality or appearance of anything regarding my CMSMS installation, but is instead mostly a personal preference. On top of that it's just overall odd.

I write my stylesheets entirely by hand and use a program called Panic Coda. Once I'm finished writing my CSS, I copy and paste it into a skeleton (empty) stylesheet I've setup on the CMSMS backend. This is all fine and dandy and works wonders for me.

The problem I'm running into with only ONE out of the THREE current CMSMS installations is that when I paste my stylesheet content into the empty stylesheet I've created on the backend, it converts all of my hard returns into double hard returns. The end result is that the declarations in my stylesheet are all needlessly and unattractively spaced out, instead of arranged the way I prefer. I've yet to come to a conclusion as to why this occurs and I made sure to do a search on the forum before resorting to making a thread.

As I stated, I've only run into this on one occasion and I can't explain it. I've tried pasting my stylesheet content into various other editors, and then pasting back into my empty stylesheet on CMSMS, but to no avail. I even did the same with a barebones text editor. Nothing.

Has anyone run into this before? It baffles me. If I absolutely have to live with it I can, but i don't want to. It makes my stylesheet much longer than it needs to be and it makes scrolling through it a pain.

Thanks in advance!

Re: Strange CSS Behavior

Posted: Tue Feb 12, 2008 12:05 am
by nivekiam
Are these sites on different servers?  I would start by comparing the output from phpinfo from each site to see if there is any differences there.

Re: Strange CSS Behavior

Posted: Tue Feb 12, 2008 8:33 pm
by Daryn
nivekiam wrote: Are these sites on different servers?  I would start by comparing the output from phpinfo from each site to see if there is any differences there.
Hi nivekiam. Thanks for the reply.

They are currently all on the same server because they are all websites that I am in the stages of building for clients. That's a great point and another reason as to why it baffles me. All of them are the same version of CMSMS also (1.2.2 "Holetown" -- Yeah, I know. I need to update to 1.2.3).

Re: Strange CSS Behavior

Posted: Tue Feb 12, 2008 8:38 pm
by nivekiam
I would try upgrading with to CMSms 1.2.3 on that problem site and see if the problem goes away.  I wonder if there is a corrupt or "off" file from when you uploaded CMSms to that site before.  Yes I would upgrade all 3 sites as there is a vulnerability in TinyMCE that shipped with 1.2.2.

Re: Strange CSS Behavior

Posted: Wed Feb 13, 2008 10:58 pm
by Daryn
Will do. Thanks for your input. I'll let you know if upgrading solves the problem.