Reply to Re: lists

Your name:

Reply:


Posted by John Hosking on 04/27/07 02:20

Jon Slaughter wrote:
> I am trying to use two lists and the only behavior that I want just html is
> to nest two ul's but use a <dd> tag in the list.

Of course you neither say why you want that nor provide a URL.

>
> It does work but I'm not sure if <dd> is suppose to work with a ul?

Typical.

http://www.w3.org/TR/html401/struct/lists.html

>
> I probably can mess with css

Likewise typical.

> to indent the text that <dd> is doing automaticaly or use
> a ul with a dl nested inside but it seems much cleaner using <dd>

<q>"We discourage authors from using lists purely as a means of
indenting text. This is a stylistic issue and is properly handled by
style sheets."</q>

which is what we have to presume you're trying to do, since you haven't
indicated otherwise. What's "cleaner" about it? Are you planning to use
<dl> or <dt>, or are you just going to define things without saying what
you're defining?

--
John

[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

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