You are here: Re: Horizontal List Issue « HTML « IT news, forums, messages
Re: Horizontal List Issue

Posted by Ed Seedhouse on 11/03/06 01:32

On Thu, 02 Nov 2006 16:13:56 -0600, Ben C <spamspam@spam.eggs> wrote:

>On 2006-11-02, Doug <dmly.usa@gmail.com> wrote:
>> Hi all,
>> I would like to display the list horizontally. I've learned that the li
>> style need to be inline.
>> I have the code as follow but it doesn't work.
>> Thank you for helping
>
>Make li float: left and display: block.

>You can also make it float: left and display: inline, the effect is the
>same. But I think display: block makes more sense.

The CSS standard requires that any floated element is given
display:block; no matter what your CSS says. All browsers I know of
obey this. Some bugs in IE are fixed with a display:inline; declaration
but IE will still render the element as a block, not inline.

 

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

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