Skip navigation
Currently Being Moderated

need help with mixing pixel heights and percentages with div heights

Dec 12, 2012 10:49 AM

I have a website http://webtest.iu.edu/~iutreas/index.html

 

Currently on high resolutions the footer is getting taller to fill the extra pixels space.  This is not what I want.  I want to limit the footer height to roughly the same height as the header banner (60 pixels).  I have set a max-height of 60 pixels for the footer but still the height will exceed 60 pixels on high resolutions.

 

I would instead like the outerWrapperBackground div (which is the tan color) to eat up extra space on higher resolutions.  I am a little unsure what I should do.  Should I try to make my div heights all percentages?  Is that a bad idea?  Can I successfully mix percentage div heights with pixel div heights?

 

Let me know if I am going off in the wrong direction.

 
Replies
  • Currently Being Moderated
    Dec 12, 2012 11:03 AM   in reply to Johnny the boy

    body {

    background-color: rgb(255,255,255);

    background-color:rgb(223, 217, 189);

    }

     

    In addition, you'll need to add background-color: white to your header & footer CSS.

     

     

     

     

    Nancy O.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points