Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directory and Subdirectory of boxsizing.htc #25

Open
arrchicago opened this issue Jan 18, 2013 · 1 comment
Open

Directory and Subdirectory of boxsizing.htc #25

arrchicago opened this issue Jan 18, 2013 · 1 comment

Comments

@arrchicago
Copy link

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.

@mariomelchor
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants