значения свойства:
.a {
word-spacing
:
normal
;
}
.a { word-spacing: normal; }
<!DOCTYPE html>
<
html
>
head
meta
charset
=
"utf-8"
/>
title
>New Page</
link
href
"css/style.css"
rel
"stylesheet"
script
type
"text/javascript"
src
"https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"
></
</
body
p
class
"a"
>To be or not to be?</
br
id
"p1"
"b"
/*JavaScript*/
document.getElementById("p1").style.wordSpacing = "15px";
/*jQuery*/
$(document).ready(function () {
$(".b").css({ "word-spacing": "-10px" });
});