a.kornelis@pinkroccade.com (Abe Kornelis) wrote:
[color=blue]
> My pages contain paragraphs that are 'remarks'. These are intended to
> have the first line underlined, (this is the word 'note' or
> 'remark'),[/color]
Underline should rarely be used for anything but links on the Web. It
is natural to expect that underlined "Note 1" is a link to something,
probably an unabridged version of the note. (We would expect the color
to be special too, but it is so common these days that authors mess
around with link colors that we expect a text to be link if it is
underlined, even if it has the same color as surrounding text.) Using
italics would be bettter.
[color=blue]
> followed by the text of the remark, which should be indented.[/color]
So it should look a bit like "Note" were a heading for the subsequent
text, right?
[color=blue]
> <p class="remark">Note 1<br />
> This course covers the Assembler and the application-programmer[/color]
- -[color=blue]
> applications use only the instructions covered in this course.</p>[/color]
Whenever an author types <br> (or the kewl & pointless variant <br />),
he should take a BReak and think about what he is really doing.
It really looks like "Note 1" should be a heading, so
<div class="remark"><h3>Note 1</h3>
<p>This course - -.</p></div>
might be the best markup, maybe with
..remark h3 { font-size: 100%; font-weight: normal; font-style: oblique;
margin: 1.3em 0 0 0; }
..remark p { margin: 0 0 1em 1em; }
(I would use the em unit rather than percentage when specifying the
indentation. When the canvas is narrow, e.g. 2% of the width gets
rather small and looks more like an error than an intentional stylistic
effect.)
--
Yucca,
http://www.cs.tut.fi/~jkorpela/