<!DOCTYPE html><style>
.outer {
margin-left: 10px;
width: 80px;
}
.text {
display: block;
text-align: center;
overflow: hidden;
white-space: nowrap;
}
</style><div class="outer"><span class="text">My super long message!