PHP File is getting Included, but CSS of that File is not -
i have folder name called test2. inside test2 contains "universal.php" , "universal.css". inside test2, folder called article. inside article, contains file called template.php. template.php, trying require_once universal.php. using this:
<?php require_once "../universal.php"; ?> this displaying php, not css goes file. universal.php linked universal.css. whenever, make new file inside of test2, , require_once using this:
<?php require_once "universal.php"; ?> it works. universal.php displayed css properties of universal.css. how make template.php gets css properties of universal.css?
in universal.php try ../universal.css because calling universal.php inside template.php directory occurs template.php
Comments
Post a Comment