CSS Stylesheet doesn't work in a .cfm file
Hi
I have installed CF2016 enterprise as a trial and I have already developed some good paged, getting JSON content from the Internet, parse it and put teh results in a database.
Now that work is completed I want to apply some nice styles to my pages with the following approach:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<CFOUTPUT><title>#Application.Title#</title></CFOUTPUT>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="images/icons/favicon.ico"/>
<link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="vendor/animate/animate.css">
<link rel="stylesheet" type="text/css" href="vendor/select2/select2.min.css">
<link rel="stylesheet" type="text/css" href="vendor/perfect-scrollbar/perfect-scrollbar.css">
<link rel="stylesheet" type="text/css" href="css/util.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
</head>
<body>
...normal HTML and CF content
So here is my problem:
The cfm page works fine, all queries get executed and the HTML tables filled but my styles are like ignored. If I run the same file directly from disc like this:file:///C:/coldfusion/cfusion/wwwroot/ptr/index2.cfm all styles are applied
however if I un the same file over CF2016 like this http://127.0.0.1:8500/ptr/index2.cfm all styles are ignored. I checked the page source and see the stylesheet command but it looks like CF does something before it send the file to he browser. I've tried lates Firefox, Chrom and MS Edge
Any idea?
Thanks in advance
Regards
Daniel
