You are here: Reference > CSS > properties > browser specific extensions > -o-text-overflow

-o-text-overflow property

Browser support:
Specifies how to handle the overflowed area of text.
Note: The -o-text-overflow property is supported in Opera from version 9.

Use the -o-text-overflow property together with the overflow style property (with a value different from visible) and the white-space style propery (with a value of nowrap).

In Internet Explorer, Google Chrome and Safari, use the text-overflow property instead of the -o-text-overflow property.
JavaScript page for this property: OTextOverflow. You can find other example(s) there.

Possible values:

 One of the following values: 
Clips the overflowing text content.
(...) is shown for overflowing text content.
Default: clip.

Example HTML code 1:

This example illustrates the use of the text-overflow and -o-text-overflow properties:
        .example {
            text-overflow: ellipsis;
            -o-text-overflow: ellipsis;
            overflow: hidden;
            width: 120px;
            background: #99C6CD;
    <div class="example" nowrap="nowrap">
        Overflowed text is to be visually clipped.
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content