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
https://forums.phpfreaks.com/topic/91274-external-stylesheets-just-wont-work/
Share on other sites

PHP won't have any direct affect on the CSS/images not loading, but the HTML you generate with PHP might. Do you have a link to the page you are working on?

 

If not, do a view source on the generated page, copy/paste that into a TXT file and attach it to your next post

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.