.htabs { /* horizontal tabs */
display: table;
}
.htabs li { /* horizontal tab */
position: relative;
float: left;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAMklEQVQIW2M8e3r/fw4OdgZk8OPHTwbGq5eP/QcxYJIwNlgCpBokAAIwBfglsBqFy3IAqdosZ0m+BQ8AAAAASUVORK5CYII=);
border-left: 1px solid #e1dfd2;
border-top: 1px solid #e1dfd2;
border-right: 1px solid #e1dfd2;
margin-right: 1px;
display: table-row;
}
.htabs li a { /* horizontal tab link */
position: relative;
font-family: 'Open Sans', sans-serif;
font-size: 10px;
font-weight: normal;
color: #444444 !important;
text-shadow: -1px -1px rgba(229,227,215,1), 1px 1px rgba(229,227,215,1);
z-index: 1;
padding: 0 7px;
line-height: 30px;
}
I'm in the process of creating a website with full responsiveness and could use some guidance. As shown in the image, when I resize the browser window to a smaller size, the "tabs" move to the second line, which is not visually appealing. How can I ensure that they remain on one line?