Skip to content Skip to sidebar Skip to footer

Css Not Loading Inside Sub Directory

I am trying to load the css from a sub directory through index.php and have defined a constant AMIN_CSS ='http://localhost/gbl_admin/admin_css'. This being in the same directory lo

Solution 1:

The second link which you are referring is perceived as

http://localhost/gbl_admin/admin_css/admin_css/style.css

You can see that admin_css is repeated twice hence it is not able to load the CSS File. Hence the correct url should be as follows :

http://localhost/gbl_admin/admin_css/style.css

Post a Comment for "Css Not Loading Inside Sub Directory"