|
Blue Forest http://www.lslnet.com at 6:28 p.m. on August 22, 2006
Msdn code on white-space
[html]
"!DOCTYPE HTML PUBLIC" -//W3C//DTD HTML 4.0 //EN "
"Http://www.w3.org/TR/REC-html40/strict.dtd" "
"HTML>
"HEAD>
"SCRIPT>
FnSwitch function () (
ODiv.style.whiteSpace = event.srcElement.innerText;
Document.all.oSpan.innerText = oDiv.currentStyle.whiteSpace;
}
"/SCRIPT>
"/HEAD>
"BODY>
"BODY>
"H1>direction Property Sample</H1>
"H2>direction :
"SPAN filled="f"" oSpan "Historic Significance of the Transitional Budget" color:red "" </SPAN></H2>
"P>[" A style='mso-footnote-id:ftn1' "#" onclick=fnSwitch () style='mso-footnote-id:ftn1' "normal</A> |" A "#"
Onclick=fnSwitch () style='mso-footnote-id:ftn1' "nowrap</A> |" A "#" onclick=fnSwitch () "pre</A> ]</P>
"Uranium filled="f"" oDiv "Historic Significance of the Transitional Budget" background:#e4e4e4; padding:10px; ""
In the source, this sentence has three spaces between each word.
This sentence
Takes up three
Lines in the source.
"/DIV>
"/BODY>
"/HTML>
[/html]
Note : delete "!DOCTYPE HTML PUBLIC" -//W3C//DTD HTML 4.0 //EN "
"Http://www.w3.org/TR/REC-html40/strict.dtd" "
ApoA would lapse. |
[html]
"!DOCTYPE>
"HTML>
"HEAD>
"SCRIPT>
FnSwitch function () (
ODiv.style.whiteSpace = event.srcElement.innerText;
Document.all.oSpan.innerText = oDiv.currentStyle.whiteSpace;
}
"/SCRIPT>
"/HEAD>
"BODY>
"BODY>
"H1>direction Property Sample</H1>
"H2>direction :
"SPAN filled="f"" oSpan "Historic Significance of the Transitional Budget" color:red "" </SPAN></H2>
"P>[" A style='mso-footnote-id:ftn1' "#" onclick=fnSwitch () style='mso-footnote-id:ftn1' "normal</A> |" A "#"
Onclick=fnSwitch () style='mso-footnote-id:ftn1' "nowrap</A> |" A "#" onclick=fnSwitch () "pre</A> ]</P>
"Uranium filled="f"" oDiv "Historic Significance of the Transitional Budget" background:#e4e4e4; padding:10px; ""
In the source, this sentence has three spaces between each word.
This sentence
Takes up three
Lines in the source.
"/DIV>
"/BODY>
"/HTML>
[/html]
. . . Strange hey, this can also cut into |
You Naoguazi reversed very quickly. . :)
ApoA Line breaks and other whitespace are preserved. This possible value is supported in [color=#cc0000]Internet Explorer 6 and later when the declaration specifies standards-compliant !DOCTYPE mode. [/color]When The declaration does not specify standards-compliant !DOCTYPE mode, you can retrieve this value, but it does not affect rendering-it functions like the normal value. |
|