box-sizing-polyfill icon indicating copy to clipboard operation
box-sizing-polyfill copied to clipboard

Directory and Subdirectory of boxsizing.htc

Open arrchicago opened this issue 12 years ago • 1 comments

I would like to start off and say, I appreciate the work going into the box-sizing-polyfill.

One thing I am having issues with is that I have html files in subfolders and unless I put the boxsizing.htc in every folder, the behavior does not work using absolute or relative url in my css file.

Is there another way to point to the boxsizing.htc so I don't have to add it to every subdirectory?

Thanks.

arrchicago avatar Jan 18 '13 13:01 arrchicago

You have to call your file using absolute paths.

-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; *behavior: url(/scripts/boxsizing.htc);

I was having a similar problem and used and absolute path and it worked fine.

mariomelchor avatar Apr 26 '13 21:04 mariomelchor