42 lines
1.4 KiB
HTML
42 lines
1.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|
"http://www.w3.org/TR/html4/strict.dtd">
|
|
<html lang="en">
|
|
<head>
|
|
<script>
|
|
if (window.internals)
|
|
internals.settings.setSimpleLineLayoutEnabled(false);
|
|
</script>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<title>StyledTA</title>
|
|
<meta name="generator" content="BBEdit 8.2">
|
|
<style type="text/css">
|
|
.p {
|
|
border: dotted silver 1px;
|
|
font-style:italic;
|
|
font-family: Verdana, Arial, Helvetica;
|
|
font-size: 10pt;
|
|
line-height:400%;
|
|
width:400px; height:200px;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
line-height settings not reflected in textarea<br/>
|
|
<p> TEXTAREA<br/>
|
|
<textarea id="myTA" class="p">Demo text here that wraps a bit and should demonstrate the goodness of line-height</textarea>
|
|
<br/><br/>PARAGRAPH - works
|
|
<p class="p">Demo text here that wraps a bit and should demonstrate the goodness of line-height</p>
|
|
<br/>DIV - works<br/>
|
|
<div class="p">Demo text here that wraps a bit and should demonstrate the goodness of line-height</div>
|
|
<br/><br/>Un-Styled Textarea<br/>
|
|
<textarea>Demo text here that wraps a bit and should demonstrate the goodness of line-height</textarea>
|
|
<br/><br/>Totally Blank Un-Styled Textarea<br/>
|
|
<textarea></textarea>
|
|
<br/><br/>Totally Blank STYLED Textarea<br/>
|
|
<textarea id="myTA" class="p"></textarea>
|
|
|
|
</p>
|
|
</body>
|
|
</html>
|