mcirl2 Posted February 15, 2008 Share Posted February 15, 2008 When I try to link stylesheets to my php pages on my server, it wont recognize them!! This is my html: <link rel="Stylesheet" href="template.css" /> the 'template.css' file is in the same folder as the php file but it wont recogize it. I have tried everything. Also, I cannot get images to come up on php pages. I think it must be my php setup. Because linking stylesheets / images works fine for asp.net pages. Has anyone encountered this problem before. Any help would be greatly appreciated!! Thanks, Mike Quote Link to comment https://forums.phpfreaks.com/topic/91249-external-stylesheets-just-wont-work/ Share on other sites More sharing options...
Cep Posted March 11, 2008 Share Posted March 11, 2008 Have you tried, <link rel="stylesheet" type="text/css" href="template.css" /> Note the capitalised S has been removed and the type attribute has been set. Plus you do realise this needs to be in the header tags? Quote Link to comment https://forums.phpfreaks.com/topic/91249-external-stylesheets-just-wont-work/#findComment-489532 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.