You are here: Reference > CSS > properties > browser specific extensions > -xv-voice-balance

-xv-voice-balance property

Browser support:
Sets the balance between left and right channels.
Same as the voice-balance property in the CSS3 declaration.
JavaScript page for this property: XvVoiceBalance. You can find other example(s) there.

Possible values:

 One of the following values: 
balance (floating-point [-100 - 100])
Number between -100 and 100.
center
Same as '0'.
inherit
Takes the value of this property from the computed style of the parent element.
left
Same as '-100'.
leftwards
Moves the sound to the left.
right
Same as '100' or '+100'.
rightwards
Moves the sound to the right.
Default: center.

Example HTML code 1:

This example illustrates the use of the -xv-voice-balance property:
<head>
    <style>
        .left {
            -xv-voice-balance: leftwards;
        }
        .right {
            -xv-voice-balance: right;
        }
    </style>
</head>
<body>
    <p class="left">Moves the sound to the left.</p>
    <p class="right">Moves the sound to the right.</p>
    Select the text above, right click and select speak
</body>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content