View Full Version : CSS3 not able to find HTC file
I a file titled PIE.htc and have this behavior property in my CSS(3).
/* Affects the UL element */
But it is saying that it is unable to find the file. I have put inside the folder with the CSS, the root folder, and others but none have prevailed. What is wrong?
11-20-2011, 07:06 PM
lol .htc, let me guess you are trying to get full browser support for something.
read through all the comments
I've never used .htc, but I'm sure you can find an answer there
11-20-2011, 07:11 PM
The file path to the HTC file must be relative to the HTML file in which the behavior is supposed to be applied, not to the CSS file, as far as I remember.
I've made sure the .htc file is relative to the HTML file. Still nothing, but I did use Developer tool and it has the behavior link crossed out. Checked it on a website and said it couldn't find the file, when I go to the .htc file it downloads it which tells me it's there.
12-01-2011, 09:45 PM
The the path is incorrect. How is your file structure?
The CSS file is located in "/assets/css/styles.css" and then PIE.htc is located in the root folder and the index.php as well.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.