Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

CSS alignment issue

Posted on 2012-04-11
11
Medium Priority
?
181 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
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

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…
When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses
Course of the Month20 days, 22 hours left to enroll

810 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