<html>
<head>
<title>Abakada CSS Demo: display Attribute</title>
<link rel="stylesheet" href="/shared/netdemos.css">
<style type="text/css">
<!--
#theSpan { background: khaki }
-->
</style>
</head>
<body>
<!-- #include virtual="~/shared/top.inc" -->
<div class="header"><h2>Abakada CSS Demo: display Attribute</h3></div>
<hr size=1 width=92%>
<center>
<h5>This example shows the effects of applying the different values possible for the CSS <b>display</b> style attribute.</h5>
<p id="msg"><span id="theSpan">This is a SPAN</span> within a paragraph. </p>
<h5 id="theSyntax">Syntax { display: }</h5>
<br>
<table>
<tr>
<td><input type="button" value="Block"
onclick="theSpan.style.display='block';
theSyntax.innerText = 'Syntax { display: block }'"></td>
<td><input type="button" value="Inline"
onclick="theSpan.style.display='inline';
theSyntax.innerText = 'Syntax { display: inline }'"></td>
<td><input type="button" value="None"
onclick="theSpan.style.display='none';
theSyntax.innerText = 'Syntax { display: none }'"></td>
</tr>
</table>
</center>
<hr size=1 width=92%>
<!-- #include virtual="~/shared/viewsrc.inc" -->
</body>
</html>