I currently have an image and text both horizontally centre aligned, and I have set both to be responsive. When I change the width of the browser the text pushes down, but the image is still top aligned. Is there a way to horizontal centre pin the image to the text so that the image moves as the text pushes down?

Original: Original

Shrink width: shrink

Ideal: ideal


Group the objects together and then pin them

| improve this answer | |
  • This answer is really short. Is there anything you can add to it? – LateralTerminal Feb 14 '18 at 19:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.