Jump to content

external stylesheets just wont work


mcirl2

Recommended Posts

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

 

Link to comment
Share on other sites

  • 4 weeks later...

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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.