Hi,
I am having trouble with CSS in that I can't
get the pseudo-element 'first-line' to work.
I have some pages that contain dialog. I use
a <dlfor this, with the character's name in
a <dtfollowed by the words in a <dd>. This
is rendered as I wish with the first line not
indented, the following lines indented, and no
leading (whitespace) between the two.
However, it is bad practice to use HTML tags
for layout; layout should be in the style
sheet. So I thought I would use the CSS
pseudo-element 'first-line' to mimic the <dl>
layout. Here is a test page:
http://members.tripod.com/martin_leese/Marvin/test.html
I have viewed this using Firefox 1.5,
Netscape 7.02, and IE 5.50. Only Netscape
appears to work, and only for
class="dialogmargin".
Can somebody please explain what I am doing
wrong here.
--
Many thanks,
Martin Leese
E-mail: pl****@see.Web.for.e-mail.INVALID
Web: http://members.tripod.com/martin_leese/