
What's the best way to represent a stage script in HTML
By: a guest on
Feb 27th, 2012 | syntax:
None | size: 1.68 KB | hits: 25 | expires: Never
<pre>
<dl>
<dt>Jeff</dt>
<dd>This sure is a nice website we've got now.</dd>
</dl>
dl {
overflow:hideen;
}
dl dt {
float:left;
width:30%;
}
dl dd {
float:left;
width:70%;
}
<ol>
<li><cite>Jeff</cite>
<blockquote><p>This sure is a nice website we've got now.</p><blockquote>
</li>
<li><cite>Joel</cite>
<blockquote><p>It certainly is. By the way, working at FogCreek rocks.</p></blockquote>
</li>
...etc...
</ol>
<dialog>
<dt>Jeff
<dd>This sure is a nice website we've got now.
<dt>Joel
<dd>It certainly is. By the way, working at FogCreek rocks.
<dt>Jeff
<dd>Of course it does. Have you played Rock Band yet? It's a lot of fun.
</dialog>
<div class="play">
<h2>Jeff</h2>
<p>This sure is a nice website we've got now.</p>
<h2>Joel</h2>
<p>It certainly is. By the way, working at FogCreek rocks.</p>
<h2>Jeff</h2>
<p>Of course it does. Have you played Rock Band yet? It's<br />
a lot of fun.</p>
</div>
.play h2 {
float:left;
clear:left;
width:100px;
margin:0;
}
.play p {
margin-left:100px;
}
<content><<Hello,>> Forne smiled and thought: <<T Idiot.>></content>
<content><say>Hello,</say> <char>Forne</char> smiled and thought: <think>Idiot.</think></content>
<div class="script">
<label for="Jeff1">Jeff<label>
<div id="Jeff1">
<p>This sure is a nice website we've got now.</p>
</div>
<label for="Joel1">Joel</label>
<div id="Joel1">
<p>It certainly is.</p>
<p>By the way, working at FogCreek rocks.</p>
</div>
<label for="Jeff2">Jeff</label>
<div id="Jeff2">
<p>Of course it does.</p>
<p>Have you played Rock Band yet? It's a lot of fun.</p>
</div>
</div>