Subject: (dsssl) Re: How to fix this From: Jany Quintard <jany.quintard@xxxxxxx> Date: Wed, 31 Jul 2002 11:35:22 +0200 |
* Gourav Raj Budhia [Fri, 26/07/2002 at 15:14 -0400] > > > > > Hi, > I have the following scenario. > Tidy is closing the </span> tag before the <ul> tag. Tidy is doing right. An inline element (span) can't contain a block element (list). Look at the DTD: <!ELEMENT span %Inline;> <!-- generic language/style container --> You can't ask tidy to accept something against the rules.² > Any Ideas... Write DTD compliant HTML. If you use class with CSS files, write a rule to process the class for a table. > I am using the tidy for java and built the latest version from cvs. > > > My input to tidy is, > > <p><span class="subHeader">Related Help topic</span> > <span class="noVSpace"> > <ul> > <li><a href="payfees.html">Invoicing and Payments: Overview</a></li> > > </ul> > </span> > </p> Jany DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
(dsssl) Strange behaviour..., Jany Quintard | Thread | |
(dsssl) Strange behaviour..., Jany Quintard | Date | RE: (dsssl) Including chunks of HTM, Antun Karlovac |
Month |