September 20th, 2013, 10:45 AM
CSS stopped working
We have some images at the top of our pages designating which section they're in, with CSS to put a border around any one of them when it's selected.
That worked fine up until sometime recently. Can't tell when, due to caching, but now the selecting CSS is totally ignored and the actual CSS hasn't changed a bit for 4 months and that was a slight and totally irrelevant change.
The weird thing is that, on the TEST server, with the exact same CSS, it works fine.
Any ideas on what could possibly have happened to make this happen?
September 20th, 2013, 12:19 PM
My first guess would be that you host the website on a Linux Server and edited the CSS file on a Windows PC and saved the file with the "Windows NewLines" encoding format instead of the Linux encoding format [which uses Line Breaks].
I can't remember the actual names of the Encoding formats...sorry.
September 20th, 2013, 01:17 PM
[QUOTE=DonR]My first guess would be that you host the website on a Linux Server and edited the CSS file on a Windows PC and saved the file with the "Windows NewLines" encoding format instead of the Linux encoding format [which uses Line Breaks].
I wish that was it, but alas, they're both MS servers and the CSS file hasn't been touched in several months.
September 20th, 2013, 10:32 PM
have you ran your site files thru a web validator to make sure there isn't some error somewhere.[an unclosed tag or unclosed css rule, property, comment]?
With the info you have given, its really difficult to give much help.
Do you have a URL that you can give? since you are new user, just omit the "http://" and separate the domain name with a space like so: www .example. com
September 23rd, 2013, 07:49 AM
I'll check validation - it's on an intranet, so you couldn't get to it anyway
Originally Posted by DonR
September 24th, 2013, 02:56 AM
did you include the css file ?