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
almost 5 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

196 points
Submitted by
almost 5 years ago