Fabs can also contain fab-lists which contain related buttons that show when the main fab button is clicked. Centering elements vertically with CSS often gives trouble. Another option is to use flex box, check the fiddle link. What's important (in my example) is to set height: 100% to body and html and then min-height: 100% to your container. The recommended use instead of height is flex-basis on the .container class, it's an old trick... top 50% and the top margin negative half the height for the inner div. Asking for help, clarification, or responding to other answers. ; Declare an inner div, which will actually hold the table (I call it wrapper). How to force the browser to reload cached CSS and JavaScript files, How to align checkboxes and their labels consistently cross-browsers, How to make a div 100% height of the browser window. Align div horizontally and vertically center to a page (responsive), How can make a div vertically center to parent div. In 1884, Eduard Strasburger adopted the term "chloroplasts" (Chloroplasten). The vertical-align property is used to vertically center inline elements. Join Stack Overflow to learn, share knowledge, and build your career. Thank you. The simplest way would be the following 3 lines of CSS: Now the flexbox solution is a very easy way for modern browsers, so I recommend this for you: Actually you need two div's for vertical centering. It even works in IE11! How do I style a