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:
Soldato
Joined
28 Sep 2004
Posts
8,541
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 :)
 
Soldato
Joined
2 Dec 2005
Posts
5,515
Location
Herts
There are some cool php scripts for this sort of thing.

Edit: what are we on about? Just make them small in photoshop :D
 
Top