CSS stylesheet not recognized on HTML page.
Posted by: ARNK (---.lightspeed.tukrga.sbcglobal.net)
Date: December 05, 2016 01:07AM

1 - Win 10 64-bit
2 - WampServer 3.0.6 64-bit
3 - Apache Version 2.4.23
4 - PHP Version 5.6.25
5 - MySQL Version 5.7.14
6 - Green

Hello.

I have a project folder under the www folder called "MyProject". In my project, I have an index.html page, and a "CSS" folder with a style.css file. The browser however isn't rendering the CSS when I put it in an external stylesheet, the styles display fine inline.

In my HTML document, the link appears as such: <link rel="stylesheet" type="css/text" href="css/style.css">

Why can't index.html reference this stylesheet?

Thanks,
ARNK

Re: CSS stylesheet not recognized on HTML page.
Posted by: Otomatic (Moderator)
Date: December 05, 2016 09:30AM

Hi,

This question is not On Topic
This site is for people having issues getting WAMPServer running and not a general HOW DO I site for everything web related.

However, a tip that could save you a lot of problems: for your local sites, use VirtualHost -> The need for Virtual Host

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Sorry, only registered users may post in this forum.