can i use javascript in cascade style sheet file
can i use javascript in cascade style sheet file
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Deepak VermaPosted Nov 28, 2012, 1:21 AM
You might write css expressions for Internet Explorer like this:
width:expression(document.body.clientWidth > 960 ? "960px": "100%");
But use of such expression is deprecated and nothing good for cross browser support.