external css stylesheet doesnt work

Questions and tutorials related to Cascading Style Sheets *all versions*

Moderators: egami, macek, gesf

Post Reply
User avatar
php-forum GURU
php-forum GURU
Posts: 365
Joined: Tue Feb 22, 2011 8:19 am
Location: Canada

Fri Jul 27, 2012 5:36 am

The stylesheet shouldn't have anything to do with your php.ini file, but to test that, create a plain html file and try to use the external stylesheet. If it doesn't work, I'm guessing it's most likely a setting either in your browser or in IIS.
New php-forum User
New php-forum User
Posts: 21
Joined: Sun Jul 29, 2012 5:38 pm

Sun Jul 29, 2012 5:48 pm

Doesn't this (between head tags) work?

Code: Select all

<link rel="stylesheet" type="text/css" href="link" />
Replace 'link' with the external sheet link.
php-forum Fan User
php-forum Fan User
Posts: 73
Joined: Wed Jun 12, 2013 9:30 pm

Fri Apr 08, 2016 4:30 am


Try like this:
<link rel="stylesheet" type="text/css" href="mystyle.css">
Post Reply