You need to set any containers (html,body,.container,etc..) to 100% height also.
Also, the full-width container for Bootstrap 3.1 is container-fluid
, so I changed your markup accordingly. The row
is then used to eliminate the container-fluid
's outer padding.
html,body{
height:100%;
}
.row,.container-fluid{
height:100%;
}
#map{
height:100%;
width:100%;
}
Fiddle: http://jsfiddle.net/zz85h/2/