?
Solved

How to center an image (CSS)

Posted on 2013-01-10
4
Medium Priority
?
417 Views
Last Modified: 2013-01-10
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!
0
Comment
Question by:isaacr25
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 17

Accepted Solution

by:
OmniUnlimited earned 2000 total points
ID: 38765830
Take out the float on the .logo class on line 46 of style.css, and add width: 382px; height: 245px; margin: 0 auto;
0
 

Author Comment

by:isaacr25
ID: 38765892
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
 
LVL 17

Expert Comment

by:OmniUnlimited
ID: 38765964
Thanks, but you really ought to consider implementing the other changes as well, just to be safe across browser platforms.
0
 

Author Comment

by:isaacr25
ID: 38766068
Thanks. I will do that.
0

Featured Post

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question