css make div one line code example
Example 1: css make div one line
div {
width: 100px;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}
Example 2: css make div one line
div {
border: 1px solid black;
width: 70px;
overflow: hidden;
white-space: nowrap;
}
Example 3: css make div one line
div.page {
text-align:center;
border: 1px solid rgb(0,0,0);
width:20px;
height:20px;
float: left;
}