Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an image in css ...
I have change its color...

CSS
HomeListData {
   background: url("../image/dot.jpg") no-repeat scroll 5px 1px transparent;
    display: block;
    padding: 5px 0 2px 15px;
}


In this the image dot.jpg is in black color...I want to change to red color...Any possibility to change
Posted

1 solution

You cannot change the color of an image using CSS! CSS is for styling. Image color is not something which can be done using CSS.

Change your image color using some editor (eg Paint!) and then use it.
 
Share this answer
 
Comments
vivekx2 23-Apr-12 8:10am    
than you.
Sandeep Mewara 23-Apr-12 8:25am    
Welcome.
member60 24-Apr-12 0:14am    
My 5!
Sandeep Mewara 24-Apr-12 1:04am    
Thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900