Re: Gtk-Xmhtml and lists



Koen D'Hondt wrote:
> 
> Mark Galassi wrote:
> >
> > *But* I am confused by your talk of the <ul> and <li> stuff.  I think
> > that the tables of contents that look poor are
> >
> > <dt>
> >   <dl> ... </dl>
> >   <dt>
> >     <dl> ... </dl>
> >   </dt>
> > </dt>
> I have to have a look at this. If the toc you're talking about is as you
> typed above I need to check a few things. I'll get back to you on this.
Okay, I know what's wrong: I'm being too strict. I'm only allowing
nested <dl> lists when they occur inside a <dd> while they should also
be allowed inside a <dt>. And this is a violation of HTML3.2

I guess I never noticed it myself 'cause I always nest my lists inside
the <dd> tag and not in the <dt> tag (which is semantically a bit more
correct since <dt> is for a definition term, while <dd> is for the
definition description). I'll fix it.

Thanks for pointing this one out!

Cheers,
Koen.
-- 
XmHTML author and maintainer
ripley@xs4all.nl                          http://www.xs4all.nl/~ripley



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]