I have encountered a weird CSS issue…
I was testing out a site on a live server and noticed my style sheets were loading (lay our and colors are there) but the images only load if the url includes a document name; that is:
http://domain.com doesn’t load any bg images but
http://http://domain.com/index.php does. (BTW, they can be seen no matter what once they are cached, so i have to clear the cache to reproduce the error) I am guessing this must be an .htaccess thing, but wondered if there was anything to be done outside of that.
I would note that:
- my CSS is written with relative links
- my host has the root level structured with a public_html folder within which ALL my files reside… but generally it means that d colors are there) but the images only load if the url includes a document name; that is:
http://domain.com is really d colors are there) but the images only load if the url includes a document name; that is:
http://domain.com/public_html, tho I don’t understand why this would matter if my links are relative
This issue has me scratching my head and any suggestions would be greatly appreciated.
Sounds like a server issue rather than a css issue so I won’t be much help.
Do you have a link or is this off limits at the moment?
Off topic but apparently its better to use absolute urls these days anyway
yeah, it probably is . I was testing out a free hosting service. http://rmdesign.myhost.zone is the url ( I have changed the page, at the moment you should see a repeating image as a background to a div)… however, it will load only if you use http://rmdesign.myhost.zone/index.php?x
I’m seeing very different results between those two URLs:
Both those flag up the big red Mcaffee warning and take me away from there.
Warning: Trouble ahead
Are you sure you want to go there?
http://rmdesign.myhost.zone/ may try to steal your information.
Why were you redirected to this page?
When we visited this site, we found it may be designed to trick you into submitting your financial or personal information to online scammers. This is a serious security threat which could lead to identity theft, financial losses or unauthorized use of your personal information.
yeah, I figured the service might be sketchy, but i have never been to start with the assumption that it must be the host and it seemed like such simple issue
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.