?
Solved

CSS alignment issue

Posted on 2012-04-11
11
Medium Priority
?
178 Views
Last Modified: 2012-04-11
I am using z-index to overlay a few boxes on top of another section.  I'm having a difficult time aligning the "What We Do" section and the text below it inside the box to the left, even though the text-align is set to "left".  The site is www dot drivecore dot com.  Any help?
0
Comment
Question by:saturation
[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
  • 6
  • 5
11 Comments
 
LVL 30

Expert Comment

by:LZ1
ID: 37833514
It's saying the shop is closed
0
 

Author Comment

by:saturation
ID: 37833519
Try now.
0
 
LVL 30

Expert Comment

by:LZ1
ID: 37833529
So what is it supposed to look like?  I'm kind of confused by your question.  Do you have an image of what it should be?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:saturation
ID: 37833537
I don't, but basically, it should be left aligned inside that box with a bit of padding.   And the text below it should be as well...I haven't changed the color on the text yet, so it's a little blended with the background.
0
 
LVL 30

Expert Comment

by:LZ1
ID: 37833601
Try adding this:
text-align: left !important;

Open in new window


To the #carsectionright element in your CSS
0
 

Author Comment

by:saturation
ID: 37833800
I tried...No luck.
0
 
LVL 30

Expert Comment

by:LZ1
ID: 37833842
There might have been something else I did. I had it in FF though. Keep it in there and I'll look again.
0
 
LVL 30

Expert Comment

by:LZ1
ID: 37833862
Try wrapping that text in a <p> tag. Then give the p tag a text-align:left !important and let's see if that helps.

It may also be beneficial to use a CSS reset.  You are getting a lot of cross-browser misalignments because of it.
0
 

Author Comment

by:saturation
ID: 37834096
the text-align: left !important doesn't seem to be working...Any other ideas?  This seems like a bizarre issue, and it's happening on IE, FF, and Chrome.
0
 
LVL 30

Accepted Solution

by:
LZ1 earned 2000 total points
ID: 37834115
You really need that CSS reset.

Add float:left; to the same tag and it should line up.
0
 

Author Closing Comment

by:saturation
ID: 37834753
Thanks!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
Suggested Courses
Course of the Month10 days, 18 hours left to enroll

770 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