Search
 
SCRIPT & CODE EXAMPLE
 

PHP

why css not working with php file

<link rel="stylesheet" href="index.css?v=<?php echo time(); ?>">
Comment

why are my css properties not being applied to php file

its probably a cache issue, just delete all browsing data, history, cache, 
cookies, e.t.c and then close the browser and open again, it should fix the
problem as it fixed mine.

But the best way to actually fix this problem is by calling the css file with
php. i recommend calling your css stylesheet with php because, if your website
is online , you cant tell all your users to delete their browsing data every
  time you apply a change on the website

its very simple, first you write the style tag then call the css file with php.
Comment

why are my css properties not being applied to php file

<style>
  <?php include "style.css" ?>
</style>
Comment

PREVIOUS NEXT
Code Example
Php :: SSL certificate problem: certificate has expired php 
Php :: Définir un nombre maximum de mots sur les titres des publications WordPress 
Php :: Set post views count using post meta 
Php :: php string concat 
Php :: laravel jobs cache file picking old job file 
Php :: How to create custom php.ini file in CPanel? 
Php :: Replace header template from plugin 
Php :: php find longest string in array 
Php :: symmetric decryption in php 
Php :: laravel tips 
Php :: how to print image just on side where upload php 
Php :: get one random post wp 
Php :: how to select and deselect all items without use name in laravel 
Php :: Add a watermark to an existing PDF document 
Php :: customize+forgot+password+laravel 
Php :: wp ajax error handling 
Php :: how to check if page is opened by bot 
Php :: The provided cwd "C:laravel projectseccomer/../public_html" 
Php :: wc php get currency symbol 
Php :: php even odd 
Php :: wp dev tehem support widget 
Php :: acf directions map link 
Php :: Undefined offset: 0 at laravelframeworksrcIlluminateRoutingRouter.php 
Php :: solaris 11 php mysql 
Php :: php convert html code to text 
Php :: composer new project laravel acl 
Php :: php getgmail name 
Php :: how to make diffrent php pages have diffrent styles 
Php :: laravel find query 
Php :: php get screen width 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =