0

I have added a new aspx site page inside my team site and I want to reference a custom style sheet inside this site page only. So what I did is I edited the page then I chose to add a code snippet, and i add the following inside the code snippet :-

 <link href="/Style%20Library/Custom%20CSS/s.css" rel="stylesheet" type="text/css" />

Once I add the above reference inside the vcode snippet, I can see that the layout was affected directly, but when I click on apply button, it seems something hangs as I keep seeing the following page for more than 10 minutes till now :

enter image description here

i also try to add the css rules directly inside a <style> tag on the code snippet instead of referencing the css file. and i also can see the effect once i copied the css rules, but when i save the page the css effect will disappear , and i will get the following inside the code snippet:-

<style unselectable="on"></style>

1 Answer 1

-1

Try to embed javascript this way:

<script type="text/javascript"></script>

It worked for me

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.