I know I'm missing something obvious. I need a short horizontal rule
to preceed a line of text (in a bibliography in which the author is
repeated). I tried this:
<p>
<div class="rule"></div>, Title of book ...
</p>
style:
div.rule {
display: inline;
border-bottom: thin solid black;
height: 1pt; width: 8em;
}
Why does "display: inline" cause this div's width definition to be
ignored?
--
Haines Brown, KB1GRM
to preceed a line of text (in a bibliography in which the author is
repeated). I tried this:
<p>
<div class="rule"></div>, Title of book ...
</p>
style:
div.rule {
display: inline;
border-bottom: thin solid black;
height: 1pt; width: 8em;
}
Why does "display: inline" cause this div's width definition to be
ignored?
--
Haines Brown, KB1GRM
Comment