Reply to Re: Semantic of a nested list?

Your name:

Reply:


Posted by Andrew on 02/22/07 04:56

On Thu, 22 Feb 2007 04:04:50 +0100, John Hosking wrote:

snip>>>>>>>
>
> Well, /that/ part of your page looks fine to me, but I don't understand
> this:
> <ol>
> <li> <a href="index.html">Andrew's Corner</a> : </li>
> </ol>
> You've knowingly styled this <ol> with list-style:none so no number
> shows up. Isn't then an hx header or just a div (which you already have)?

This is a very simple navigation that I am implementing on the site,
based _very_ loosely on Jukka Korpela's site (he does not use <ol> for
this). For example:

http://www.cs.tut.fi/~jkorpela/wwwold.html

I thought a styled list made sense for this purpose and I also thought an
ordered list made sense as there is a hierarchy of links involved.

>
> I also see a bunch of empty elements (<p></p> <h2></h2> <p> </p>) down
> below. If you're worried about worrying too much, you should worry more
> about the markup *besides* the stuff you're worried (asking) about!

My apologies for displaying this page as an incomplete one: I have simply
placed these empty elements ready for material as I write the page :-)

> Anyway, I don't know how you'd "style the element to produce numbers
> before each item" in a nested <dd>. I would think the alternative to
> what you've chosen would be something manual, like:
>
> <dd>A term for... <br>
> 1. <em>Biblos</em> : In Phoenician times... <br>
> 2. <em>Philew</em> : An Ancient Greek ... </dd></dl>
>
> I think I like your current way better.

Thanks very much for your thoughts!

Andrew
--
Urban Myths and the Iliad
http://people.aapt.net.au/~adjlstrong/homer.html

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация