How to center an image (CSS)

Please go to www.mwebdev.com/ls.html. Take a look at the logo at the top, which is contained within a div called top-row. I need to make the logo centered. I tried adding text-aling:center to #top-row, but this did not work. Please advise. Thanks!
isaacr25Asked:
Who is Participating?
 
OmniUnlimitedConnect With a Mentor Commented:
Take out the float on the .logo class on line 46 of style.css, and add width: 382px; height: 245px; margin: 0 auto;
0
 
isaacr25Author Commented:
Your post made me realize I hadn't removed the float tag! All I did was remove it and the logo centered. Thanks for your suggestion!
0
 
OmniUnlimitedCommented:
Thanks, but you really ought to consider implementing the other changes as well, just to be safe across browser platforms.
0
 
isaacr25Author Commented:
Thanks. I will do that.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.