How to Center an Image Horizontally (CSS & HTML Tutorial)

[ad_1]
In this video we look at two of the most popular techniques to center images. Check out my “Get a Developer Job” course:

Have you created amazing pages with HTML & CSS and want to move them from your computer’s hard drive to online so the world can see them? The next step is to move your files to a web host. Learn about web hosts, my favorite hosting company, and how to save $40 on the only hosting plan you’ll need:

Sign up for my newsletter to receive periodic webDev tips, tricks, resources and coupons. Join the list at

Follow LearnWebCode on Twitter for resources and updates:


Posted

in

by

Tags:

Comments

22 responses to “How to Center an Image Horizontally (CSS & HTML Tutorial)”

  1. SPY4ER Avatar

    I love your videos. Thank you very much!

  2. Kenjibaby Avatar

    OMG YOU SAVED MY LIFE!!!

  3. Scarface Avatar

    how does the first option work in bootstrap?

  4. FUT Mentor Avatar

    Awesome man thanks

  5. TheGamingGangster Avatar

    thankyou this helped a lot

  6. Oxygen Wattsy Avatar

    THANK YOU SO FUCKING MUCH

  7. Munchkin Avatar

    Thank you so much

  8. Jad Sayegh Avatar

    Great videos. Bite sized and gives just the right amount of detail.

  9. BlackKnight_007 Avatar

    thx bro nice video you saved me!

  10. Jebediah's Lab Avatar

    I need the picture to be in the center with text flowing around it..

    Help!

  11. felly fell Avatar

    will this work in the figure tag?

  12. Renzo Beronilla Avatar

    great tutorial. thanks

  13. TheSecondAntagoniser Avatar

    Nice tutorial and very informative.

  14. FIRE PRINCE Avatar

    thank you! i can set iamge in the center finally 🙂

  15. Robert Chhangte Avatar

    simple and clear..thanks

  16. Ernest Watson Avatar

    WOW, YOU ARE THE MAN, I LOVE YOU BRO. 

    Sway voice.

  17. NAT T Avatar

    Thank you so much, you make explain it so clearly. 😀

  18. John C Avatar

    Awesome! Thanks for the simple and to the point explanations!

Leave a Reply

Your email address will not be published. Required fields are marked *