Home › Forums › CSS › Noob question but do I always have to add padding to images in css ? › Reply To: Noob question but do I always have to add padding to images in css ?
When you say “allow for text to flow around it comfortably”, it sounds like what you’re wanting is “float” on the image, with a margin around it.
I’d advise against paddings for images because the padding is “inside” the boundary of the image, making the image appear smaller. The margin is “ouside”, giving space around the image without altering its size. Depending on which way you’re floating you may want margin-left/margin-right and probably margin-top/margin-bottom.