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

CSS: An Overview Forum

View Course » View Exercise

186 points
Bcba63561b32e10411615f5cca7098e5?s=140&d=retro
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

permalink

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

195 points
65b278522a73778a10a613177793264d?s=140&d=retro
Submitted by
deTuinman
over 4 years ago