[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

CSS alignment issue

Posted on 2012-04-11
11
Medium Priority
?
180 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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
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…

649 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