I have code like this. html:
<div>
<h3>Sometext</h3>
</div>
css:
div {
width: 20px;
}
h3 {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
Problem here is that H3 tag "Sometext" should only written as "Somete" but both overflow and text-overflow doesn't help. H3 tag still can be seen.