You are here: Re: Photo Gallery. What is best practice? List or Divs? « HTML « IT news, forums, messages
Re: Photo Gallery. What is best practice? List or Divs?

Posted by Andy Dingley on 10/07/18 12:01

On 28 Jan, 13:07, Ed <ex@directory> wrote:

> Is there any significant advantages/disadvantages to using the list
> approach to using the div approach?

No, absolutely none. For any "significant" advantage at least.

What _is_ significant is that a sequence of floated boxes (either way
you describe) has better fluid behaviour than <table> markup.

<ul><li>... markup is arguably more appropriate than meaningless
<div>s, as there is some vague notion of a "list" structure to these
thumbnails. That's pretty tenuous though.

Default CSS rendering of <div> is likely to be more appropriate than
for <ul><li>, in some fallback cases.

Neither of these distinctions is major. I'd use <div>

 

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

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