How would I change the axis of an hr line?

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.

319px left
319px right

How is that not centered?

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. :slight_smile:

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.