Jump to content

Pulling my hair out over a seemingly simple issue.


Recommended Posts

Hi all, I've been having this weird issue preventing me from starting with one of my projects. I hope you're able to be of help.

I have been trying to make a stylesheet link work, but no matter what the attributes applied to the stylesheet do not seem to be working. The preview code of the things working together will be placed below. (Also the PHP include file, tho I couldnt find a php selection for jsfiddle)

Maybe the only thing I can add is that I might have edited an .htaccess wrongly in the rootfolder to force-redirect to the https://url automatically. (Although this seems to be working normally, may I have ruined the original file?)

Things I've tried;

Putting the stylesheet link inside and outside of the include.php.

Putting the CSS file in a CSS folder and inside of the root folder.

Check the consoles in different browsers (Firefox, Chrome) to see if I can find any linking errors. But ironically they both can find the file in the browser, but can't seem to link the HTML with the CSS preventing the attributes from working.

Double(triple, quadruple) checking names and typo's.

Simply removing the include.php to see how basic the issue is. And it is.. really basic. Hence my confusion.

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.