₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,328,327 members, 8,435,179 topics. Date: Sunday, 28 June 2026 at 06:53 AM

Toggle theme

Help: External CSS File Not Working With My PHP Files - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingHelp: External CSS File Not Working With My PHP Files (1750 Views)

1 Reply (Go Down)

Help: External CSS File Not Working With My PHP Files by ehis0308(op): 7:19pm On Dec 28, 2018
Hello, ive being having this issue for some time now, i have some php files am working on but whenever i connect the file to my external css file and try to style some div tags, it does not work but if i write the css at the head or use inline css in the php document it works fines

After sometime it will work on its own and sometimes it wont work, what could be the problem.
Re: Help: External CSS File Not Working With My PHP Files by donsheddy1(m): 7:56pm On Dec 28, 2018
ehis0308:
Hello, ive being having this issue for some time now, i have some php files am working on but whenever i connect the file to my external css file and try to style some div tags, it does not work but if i write the css at the head or use inline css in the php document it works fines

After sometime it will work on its own and sometimes it wont work, what could be the problem.
If only we can see your code, how you're calling your css etc
Re: Help: External CSS File Not Working With My PHP Files by EasternActivist: 7:59pm On Dec 28, 2018
The browser is loading the CSS file from cache. Try clearing cache or forcing hard refresh.
Re: Help: External CSS File Not Working With My PHP Files by BitsMaster: 8:26pm On Dec 28, 2018
ehis0308:
Hello, ive being having this issue for some time now, i have some php files am working on but whenever i connect the file to my external css file and try to style some div tags, it does not work but if i write the css at the head or use inline css in the php document it works fines

After sometime it will work on its own and sometimes it wont work, what could be the problem.
Use Shift+F5 when to reload the page.
1 Reply

Help : My Php Email Script Works Only On LocalhostCSS File Not Reflecting In Webpage After UploadsWhy Is My Html File Not Showing On Chrome234

C Sharp Questions? Which Guru Can Write This Program???Someone Good With Bootstrap And Html And Css Needed For Urgent ProjectDo Remote Companies Provide Their Employees With Equipments?