I have a css which has some attribute as follows:
.ts{
background-image: url("images/xyz/pb.gif");
background-repeat: no-repeat;
padding:0,0,0,20px;
display:none;
}
.ts.visible{
display: inline;
}
Now i want to apply the this style to a div in my html page.How cna i do it.I dont know css
You can use it like this:
<div class="ts">... </div>But I strongly recommend you take a look at css here, it’s not that hard.