Page 1 of 1

Stoping cmsms from editing css

Posted: Tue Jul 19, 2005 8:17 am
by ljbadenz
I noticed that cmsms modifies the outputted css.

It capitalises and tries to fix stuff up.

I am trying to use several css 'hacks' to bypass browser flaws, and some of this stuff cmsms just ruins. It also tries to fix up perfectly OK css it doesn't understand. How can I stop it doing this (i.e. just present it exactly how I type it).

I could type it into the actual html in a style tag, but there msut be a better way.

But I don't want it stopping mods from adding stuff to the stylesheet.

Re: Stoping cmsms from editing css

Posted: Tue Jul 19, 2005 10:08 am
by Ted
Where are you entering your css?  It should definatly not be doing that....

Re: Stoping cmsms from editing css

Posted: Wed Jul 20, 2005 12:36 am
by ljbadenz
In the stylesheet box in the template.

I had some stuff that used #body>p+p or something like that I grabbed of A lis apart, and it replaced the names with 'UNKOWN'.

---

Hmm, I think I found the culprit, it's not CMSMS but IE. I was using the 'Save As' option to try and look at CMSMS's css output, and I think it is actually IE that changes it (tested it on other sites).

The reason I was doing that is when you type in the path to the php stylesheet, IE complained about 'site not found' when it tried to download it. Does CMSMS do a referer check on the stylesheet?

So it was a false alarm, sorry, but you learn about a new IE quirck every day 8-| (can't wait to see if IE 7 will realy improve standards conformity)