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
Solved

CSS style, element not aligning correct & some overflow.

Posted on 2011-02-25
3
247 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 125 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 125 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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 learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

840 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