Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CSS style, element not aligning correct & some overflow.

Posted on 2011-02-25
3
Medium Priority
?
258 Views
Last Modified: 2012-05-11
I have been working on a few pages and just noticed this morning (don't think it was there before but don't know for sure) that the footer is not aligning correct on my PHP pages. All the other pages on the site line up correctly.

http://www.demos.graycomputer.net/products/skincare/index.php
0
Comment
Question by:rodneygray
3 Comments
 
LVL 7

Assisted Solution

by:rgranlund
rgranlund earned 500 total points
ID: 34981193
Add this to your CSS:
#footer_container {
    padding-bottom: 174px;
    width: 980px;
margin:0px auto 0px auto;
}

It also has something to do with that div on that page being outside of the #wrapper.  (maybe)  But that CSS addition will fix it.
0
 
LVL 27

Accepted Solution

by:
Lukasz Chmielewski earned 500 total points
ID: 34981222
add margin: 0 auto; to
#footer_container
and
#container_bottom
0
 
LVL 1

Author Closing Comment

by:rodneygray
ID: 34981936
The first answer fixed part and the second fixed the other part.

Very good answers.
0

Featured Post

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.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
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…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
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…

916 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