My internal css is this one:
<style type="text/css">
.OneClass
{
background: url(/Images/star.png) no-repeat !important;
}
</style>
OneClass is name of a class attribute in one div in td tag.
When I'm writing in external css file:
.OneClass
{
background: url(/Images/star.png) no-repeat !important;
}
it's not working. Why?
This is how I include the css file:
I did notice strange behavior though: In my css I color some letters red. If I change it to green, it's not changed in the result page (it's still red). But, if I remove the link to the css file, the letters aren't red either! Why is this happening?
I changed /Images/star.png to Images/star.png in the .css file and it worked.