25 lines
431 B
HTML
25 lines
431 B
HTML
<html>
|
|
<head>
|
|
<style>
|
|
.testDiv {
|
|
width: 200px;
|
|
height: 20px;
|
|
border: 1px solid black;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
margin: 0 0 20px 0;
|
|
font-size: 16px;
|
|
font-family: 'Ahem';
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="testDiv" style="color:green">
|
|
The ellipsis should be green …
|
|
</div>
|
|
<div class="testDiv" style="color:green">
|
|
The ellipsis should be green …
|
|
</div>
|
|
</body>
|
|
</html>
|