Mon, 2017-05-15 11:56
Hello
Sorry is this sounds just too basic for many of you. I have followed a few CSS courses but I can't figure out yet how to add padding to images that I have placed inside a particular oblong div?
I have used Dreamweaver to get them into my template (insert images) but now need to correctly space them as the images sit directly next to each other.
Please advise!
With thanks in anticipation.
LR
Mon, 2017-05-15 15:54
#1
Margin, not padding
An image element is not a container and cannot have padding. Use the margin property. E.g.
img { margin: 0 .5em; }
More specific help will require knowing your specific coding.
gary