You are here: Re: Indenting secon row « HTML « IT news, forums, messages
Re: Indenting secon row

Posted by Bob on 02/27/07 10:57

On Feb 26, 4:52 pm, "Andy Dingley" <ding...@codesmiths.com> wrote:
> 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>

All my descriptions, both short and long are in tables....

 

Navigation:

[Reply to this 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

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