CSS

Associate
Joined
26 Jan 2006
Posts
1,502
Hello,

I am puzzled with some CSS rules I wrote for changing the default bullets of a list with some custom pictures.

li { list-style-image: url(file); } works fine, but how I resize images with CSS?

Edit: After reading all W3C css school and 20-30 random tutorials, I still cant find a way to make them small :(


Thanks
 
Last edited:
Don't take my word as the gospel but I don't think you can, you could cut bits off by altering the size shown, but to do this you'd probably need javascript so you might just have to use photoshop or any image resizing tool to get them to the right size. Correct me if I'm wrong people :)
 
You need to make the image the correct size, AFAIK you can't actually use CSS to resize an image
 
Back
Top Bottom