Removing White Space From Image On Webpage
I'm trying to figure out why my image is in a box. I ran a little script that nulls out all the white space in my image, but when I try to use it on my site, my image has a white b
Solution 1:
First remove style="block" in image tag! Its false. Read about class and id, Link this css to your page
First way
.img_stylea{
border: none;
}
Second Way
.img_stylea{
padding: 0;
border-radius: 0;
}
Third Way
.img_styleimg{
margin : -10px -15px;
}
Solution 2:
I think I found the issue, my link styling was creating the unnecessary space, so I just removed that and it works, I didn't need to add any extra code.
Solution 3:
have you tried the border?
style="border: none !important"
Based on in-line styling**
Post a Comment for "Removing White Space From Image On Webpage"