Unfortunately, the “tabs below content” example is no longer in the jQuery documentation, so you can use the following CSS to move the jQuery UI tab controls:
#tabs { position: relative; padding-bottom: 3em; } #tabs .ui-tabs-nav { position: absolute; left: 0.25em; right: 0.25em; bottom: 0.25em; padding: 0em 0.2em 0.2em; } #tabs .ui-tabs-nav li { border-top: none; border-bottom: 1px solid #ccc; -moz-border-radius: 0px 0px 4px 4px; -webkit-border-radius: 0px 0px 4px 4px; border-radius: 0px 0px 4px 4px; } #tabs .ui-tabs-nav li.ui-tabs-selected, #tabs .ui-tabs-nav li.ui-state-active { top: -1px; }
This position will be located on the tabs at the bottom of your #tabs container. If you want to maintain a static height, you can provide your #tabs container #tabs a height value.
Note: the above CSS has been adapted from Keith Wood 's example .
source share