Skip navigation
Currently Being Moderated

div length

Feb 6, 2013 3:27 AM

what CSS code would you use, to make a div that is used for a vertical menu stick to the bottom, just above the footer, when the menu is not long enough by its self, can someone help please thank you Jeff.

 
Replies
  • Currently Being Moderated
    Feb 6, 2013 4:03 AM   in reply to Jeffrey54 Lane

    Hi Jeff,

     

    The normal procedure would be to have a faux background image sitting behind the menu <div>.

     

    The background image would be attached via css to a wrapper <div> that should enclose your menu <div> and all the other <divs> on the page.

     

    Does that make sense?

     

     

    Another method would be to use javascript. I've never used that method though as it seems a little like over kill to be.

     

    Another method I guess would b eto use the css property display:table; on the <divs> (I think IE8 supports that) Again it's not a method that I have much experience with and would need testing.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 6, 2013 6:47 AM   in reply to Jeffrey54 Lane

    Hi Jeff,

     

    That's it, you've got it.

     

    970px width is just fine. I set all my pages to 980px.

     
    |
    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