?
Solved

CSS alignment issue

Posted on 2016-09-07
2
Medium Priority
?
98 Views
Last Modified: 2016-09-07
I have this page: http://tinyurl.com/zwrf2dx

All of the body content is centered : https://www.dropbox.com/s/1lvhu9j0um1gzov/Screenshot%202016-09-07%2009.39.35.png?dl=0

I cannot figure out what bit of CSS is centering this text. I do not want it centered. Another set of eyes would be appreciated.
0
Comment
Question by:lvollmer
2 Comments
 
LVL 27

Accepted Solution

by:
Shaun Kline earned 2000 total points
ID: 41788243
It appears that your text is inheriting text-align: center from the .page-organics-title style in the DIV containing the text.

The DIV one level up also has a style .page-organics-desc that has text-align: center.

Using the developer bar in IE, if you view your page, you can see the computed styles for any element, and remove them to see the affects.
0
 

Author Closing Comment

by:lvollmer
ID: 41788258
.page-organics-desc was the culprit, thanks!
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

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.

Join & Write a Comment

An ASP.NET Web Form User Control is not newly introduced in ASP.NET. In fact, it was an old technology yet still playing a role to generate web content, especially when we want to use it to have a better and easy way to control part of the web conte…
I recently worked on a Wordpress site that utilized the popular ContactForm7 (https://contactform7.com/) plug-in that only sends an email and does not save data. The client wanted the data saved to a custom CRM database. This is my solution.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

589 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