Advertisement

11.10.2007 at 05:50AM PST, ID: 22951948
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.0

css vertical align and add footer

Asked by secuteamers in Cascading Style Sheets (CSS), Hypertext Markup Language (HTML), Extensible HTML (XHTML)

Tags: , , ,

i have a website layout that is both horizontal and vertical centered. I know how create it, but when i add my footer to the site, there is scrolling on the website but not on the footer.
I need it to scroll the entire site if needed AND the site itself (without) the footer should still be vertical centered. The footer should always be fixed to the bottom.

In my current layout, i can scroll the centerwrap, but when the screen resolution is 1024x 768 or less, the text in the centerwrap is not visible, not even when scrolling

Here is my code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<title></title>
<style>
*{
margin:0;
padding:0;
border:0
}
body{
color:#666666;
background:url(../media/images/back_pattern.jpg) repeat-x top fixed;
font:11px Tahoma,Helvetica,Arial,sans-serif,"Lucida Grande","Myriad Web","Trebuchet MS";
height:100%;
}

a{
color:#666666;
text-decoration:underline
}
a:hover{
color:#333333
}
input,select,textarea{
border:#c1c2c2 1px solid;
padding:2px;
color:#000000;
font:11px tahoma,sans-serif
}
select{
padding:1px
}
li{
list-style:none
}

/*--- GECENTREERDE LAYOUT ---*/
#centerwrap{
width:950px;
margin:0 auto;
height:642px;
position:relative;
}

/* \*/
#centerwrap{
margin:-321px 0 0 -475px;
position:absolute;
left:50%;
top:50%;
}

#footer {
      height:18px;/*same height as margin bottom on body*/
      background:#fff;
      width:100%;
      position:fixed;
      bottom:0;
      left:0;
      text-align:center;
}
* html #footer {position:absolute}/*for ie*/
#footer a{
      padding-top: 0px;
      display: block;
      width: 100%;
      height: 100%;
      background: #999999;
}
#footer a:hover{
      background: #68813D;
}
</style>
</head>
<body>
      <div id="centerwrap">this is my content

    </div>
</div>
<!--/centerwrap -->

<div id="footer">
here is my footer</div>
</body>
</html>

Start Free Trial
[+][-]11.10.2007 at 08:31AM PST, ID: 20256189

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Cascading Style Sheets (CSS), Hypertext Markup Language (HTML), Extensible HTML (XHTML)
Tags: css, footer, align, vertical
Sign Up Now!
Solution Provided By: TheKyle
Participating Experts: 2
Solution Grade: B
 
 
[+][-]11.12.2007 at 08:25AM PST, ID: 20265081

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.12.2007 at 08:57AM PST, ID: 20265356

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 09:01AM PST, ID: 20304723

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.20.2007 at 11:08PM PST, ID: 20326008

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628