0

I am trying to add a htc file in css. The solution structure is:

enter image description here

I am in /Styles/QTip/jquery.qtip.css and from there I am referring the PIE.htc as:

behavior: url('../HTC/PIE.htc');

But it is not working.

Also after running the application from VS2010 if I browse

http://localhost:2873/Styles/QTip/jquery.qtip.css

Then browser opens the css file but if I browse the URL

http://localhost:2873/Styles/HTC/PIE.htc

I am getting The resource cannot be found.

What will be the right path of this htc file?

Tapas Bose
  • 28,796
  • 74
  • 215
  • 331

2 Answers2

1

You need to go up another folder...

behavior: url('../HTC/PIE/PIE.htc');
jQueryMike
  • 15
  • 6
1

You have to use an absolute path or a full URL reference as suggested here and here.

Community
  • 1
  • 1
Oleg
  • 24,465
  • 8
  • 61
  • 91