Hi all I need some help. The CS stylesheet on my webpage here isn't loading I've used the following CSS call and the relevant CSS file exists at that location but I can't figure out why its not loading on the site. <meta http-equiv="content-type" content="text/html; charset=UTF-8"><link href="style2.css" rel="stylesheet" type="text/css"> Code (markup): Would be grateful if someone can check and guide me on this. Thanks
Oh...I only see a blank white background instead of the background image I've set on my stylesheet. Wonder why? Edit: Just checked. The CSS is loading fine in Chrome now but its not loading in Firefox. This is mental!
You're right. Its loading fine in all browsers now..I didn't do aything except wait for a few hours...at the time I posted the thread nothing was working..I cleared the browser cache and cookies..but the CSS just wasn't loading. Funny it resolved on its own in a few hours
i don't see any problem with your code but if you don't put the page and css in same folder(as you link) then it might not work. Thank you.
The code is ok as drhowarddrfine said the problem is maybe the cache. For example Chrome cache everything heheh.
In my local environment, Firefox usually loads the css/js if the file is modified. If you want to make sure it takes the latest css, js .... use Ctrl + f5 while loading the page. It will forcefully get all pages from Server and will not use the cache.