html, body { height: 100%; } div#content { display: block; width: 95%; height: 100%; min-width: 20em; max-width: 100em; margin: auto; } div.tab-content { padding: 1em; border-bottom: 1px solid #ddd; border-left: 1px solid #ddd; border-right: 1px solid #ddd; }