I want to create a vertical line that cover whole page like this

here is my code
#menu
{
border-left: 1px solid black;
height: 100%;
}
result show like this

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As bookcasey said,
height: 100%;will only make the DIV 100% of its parent. For this reason you will need to makehtml, body {height: 100%; min-height: 100%}as stated by Marko, but also, make the same change on every parent DIV of#menu.Because you have a bottom border, then apply the right border to the parent DIV at
height: 100%;and apply the bottom-border to your#menuat whatever height you want the bottom border to show up.