Reply to Re: Indenting secon row

Your name:

Reply:


Posted by Andy Dingley on 02/26/07 15:52

On 26 Feb, 09:48, "Bob" <Go1...@Yahoo.Com> wrote:
> I have a number of items that I'm listing row by row...

So think about using one of the HTML list elements: <ul>, <ol>, <dl>
or <menu>

<menu> is deprecated, so forget that.

<ol> implies some sense of "ordering", whcih I don't think you need
here.

<ul> works, for a simple list of atomic elements. Nearly every HTML
list ought to be a <ul>.

<dl> is interesting though, because it has two distinct valid
children, <dt> and <dd> and there's already some vague implicit
coupling between <dt>(s) and the following <dd>(s). There's also
indication in the HTML spec that the notion of "definition list" is
very vague and can be ignored.

So I'd use <dl> and I'd have markup like this:

<dl>
<dt>Apples</dt>
<dd>These are the finest apples from Washington State and were picked
by virgins wearing gloves made of virgin wool.</dd>

<dt>Oranges</dt>
<dd>Gathered by those funny orange-skinned chaps who do the TV
antiques programs.</dd>
</dl>

[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

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