Yes, it does, but the images are not centered in the box.
Whatās wrong with doing it like this?
.hr4 {
margin-left: 319px; /* text-align:center; other than 15px */
}
.hr4 img {
margin:28px 15px 0 0; /* top right bottom left*/
just stated
That adds 15 px margin to the right of every image, including the last one. So you end up with uneven outer margins and, as @ronpat has already said, the images are not centered in the box.
See post #93
Why are you telling me itās not even when it is?
Iām telling you that BRUTE FORCE is not good code.
AND that I have given you 3 valid methods of spacing the images15px and centering the group, the best of which you actually usedā¦ and discarded.
this deals with line-height.
What deals with line height? Your question at this moment is about margin. That is what I am addressing for the third time.
Did you attempt to review any of the posts around #75?
The magnifying glass icon is a great help for fining previous conversations in the current thread. Have you tried that?
i donāt know
Why donāt you spend today reading through these posts. We can continue the discussion tomorrow. Good night.
i give up.
Thereās way too much stuff in this thread.
The thread is a gold mine of exactly the information that you have asked for and are now asking for, again. All you have to do is find it AGAIN. You can go to the posts that Iāve named or use the search function. Itās all hereā¦ more than once.
it doesnāt work.
@asasass: as it has already been explained to you multiple times, you could keep your topics shorter and more manageable by putting a little more effort into your posts so that they actually mean something. Then we wouldnāt have to keep asking what doesnāt work, and in what way it doesnāt work.
##72 works.
and it only takes one line of CSS.
I thought we werenāt using padding.
You thought wrong. I was trying to show you how they compare.
Change the padding to margin. We spent hours demonstrating that margin and padding were largely interchangable. Not always, but quite often. Just so happens that margin IS better in this situationā¦ So change the padding to margin. Coderās choice. You can discover the difference some other timeā¦ maybe when you get serious bout learning the CSS box model.