This forum is now read-only. Please use our new forums at

CSS: An Overview Forum

View Course » View Exercise

186 points
Submitted by
Mordechai Labaton
over 4 years ago

How do you align an image?

How does one align an image in the html and/or css files?

I see that one possibility is to create a table but is there a simpler way?

Thank you very much,
Code Academy is boss.

-1 votes


align="middle" in your img code should do the trick

195 points
Submitted by
over 4 years ago