Stuck with a grey border around my image
Posted: 08 June 2025, 19:10
I'm sorry if this is an easy one but I can't find the answer anywhere. I was trying to get rid a grey border around my image and tried everything, I'm sure the reason is simple but I can't find it. I even changed my code to the one below to make an empty image and the grey border is still there. The grey border appears between the padding and the content and this is how i generate my images:
for (let p = 0; p < plateCount; p++) {
dojo.create('img', {
/*class: 'plate-icon',*/ <-------- This is the css that applies the real image which is commented out for testing with no css style.
style: {
width: '100px',
height: '100px',
}
}, plateContainer);
}
Thanks!
for (let p = 0; p < plateCount; p++) {
dojo.create('img', {
/*class: 'plate-icon',*/ <-------- This is the css that applies the real image which is commented out for testing with no css style.
style: {
width: '100px',
height: '100px',
}
}, plateContainer);
}
Thanks!