Pages: [1]
|
 |
|
Author
|
Topic: CSS PROBLEM (Read 2195 times)
|
|
tomm
|
I am a reseller and I have a few sites up and a few others in process. There seems to be a problem with one of my domains with CSS. I cannot get any CSS to work with any of the pages on the site. I've checked and re-checked my HTML code and links to the Style Sheets, Etc. The pages display on my computer and the code is written like it is on other pages on other domains, but still no success.  It has been like this ever since I set up the website. - Any suggestions
|
|
|
|
|
Logged
|
|
|
|
|
RV Guy
|
tomm, It's hard to tell without seeing the code. But based on your satements "the pages display on my computer" and "the code is written like it is on other pages" I would suggest looking at the directory and/or file name of the CSS on the server. Remember that dir/file names are case-sensitive on Linux. So if your link in your HTML is coded as "cssDirectory/cssFile.css" but the actual names on the server are cssdirectory/cssfile.css, it will work on your local machine (I'm assuming windows-based) but will NOT work when uploaded to these servers. Just a thought - and I've done this myself in the past  Good luck. RV Guy
|
|
|
|
|
Logged
|
|
|
|
|
AlphaWolf
|
Good thought RV!
Case seinsitivity in *NIX and the way it deals with spaces in file names, cause a lot of grief for many people who have never used a real OS. BTW, even in W-doze files are not stored capitalized or with spaces in them - or even with file names longer than 8 characters! Doze just translates them to look 'pretty' for the end user.
Another possibility is the relative path names used to call the CSS. I made this mistake on a really large site i was building by copying the initial template I created into multiple sub-directories. Instead of changing all the calls to the CSS, I just copied it over...chuckle.
peace
Wolf
|
|
|
|
|
Logged
|
|
|
|
|
tomm
|
Thanks - I found my problem(s) - I was missing a php tag in the link AND there were some renegade caps in the file names. Its nothing two hours and some help from you guys couldn't solve.
Sometimes I am amazed that ANYTHING works on the internet at all.
It also reminds me of the magnitude of the knowledge of God, and when I am reminded, it is real easy to walk humbly before our God - and that's a pretty good place for me.
Thanks Again, Be blessed Tom
|
|
|
|
|
Logged
|
|
|
|
|
Brad
|
I'm glad you found your problem Tom.
Brad
|
|
|
|
|
Logged
|
|
|
|
|
Pages: [1]
|
|
|
 |