ѕeмa™ 308 Posted July 13, 2015 Share Posted July 13, 2015 (edited) First of all, this is about css,html in a website. I have this image: As you can see, is the mark_0.tga located in folder mark ( serverfiles ) and if you see in the left u can see 2 numbers: 28.5 and 16 The numbers represent the row and colums. I need resize the image or cut the image to show only the image into pixels: 28.5+16 and 16+12 Why 16 and 12? i think is the size of the logo. ( im not sure ) How can i do this? Thanks, i hope you can understand me and sorry my english. Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal https://m2admin.net/ Link to comment Share on other sites More sharing options...
Benhero 23 Posted July 13, 2015 Share Posted July 13, 2015 you can do it by css background position: For the first image it willb be like this: width: 16; height: 12; background-image: url(PATH) 0px 0px For the Seonc image it will be: width: 16; height: 12; background-image: url(PATH) -16px 0px etc... Greatzs 1 Link to comment Share on other sites More sharing options...
ѕeмa™ 308 Posted July 13, 2015 Author Share Posted July 13, 2015 you can do it by css background position: For the first image it willb be like this: width: 16; height: 12; background-image: url(PATH) 0px 0px For the Seonc image it will be: width: 16; height: 12; background-image: url(PATH) -16px 0px etc... Greatzs Thanks i will try it https://m2admin.net/ Link to comment Share on other sites More sharing options...
ѕeмa™ 308 Posted July 13, 2015 Author Share Posted July 13, 2015 (edited) I think i did something wrong. But where? Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal https://m2admin.net/ Link to comment Share on other sites More sharing options...
Benhero 23 Posted July 13, 2015 Share Posted July 13, 2015 .test_guild -> CLASS#test_guild -> ID 1 Link to comment Share on other sites More sharing options...
ѕeмa™ 308 Posted July 13, 2015 Author Share Posted July 13, 2015 .test_guild -> CLASS#test_guild -> ID Yes i forgot this xD But now i only can see the firts image if i put 0px 0px in the background-image: url(config/b_gremios/imagen.png) 0px 0px; i cant see any image but if i delete the 0px 0px i can see the first image Solved i change background-image to background only and its working. Thanks u soo much. https://m2admin.net/ Link to comment Share on other sites More sharing options...
Benhero 23 Posted July 13, 2015 Share Posted July 13, 2015 If you want i can help you about teamviewer.. Just send me a message. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now