Re: <ol> with <a> and <li>

On Mon, 16 Feb 2004 paul.a.gates@us.abb.com wrote:

> <ol>
> <a href="somelink.html" ....>

That's a syntax error indeed.

> I assume that that means that an ordered list cannot contain an anchor
> around it's list items.

Correct, since the relevant declaration is

<!ELEMENT OL - - (LI)+>

> I can switch the order, but it will not give me
> the full effect I was looking for.

Consider using CSS to achieve the presentational effect, whatever it is.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

Received on Monday, 16 February 2004 15:26:54 UTC