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

Posted by Michael on 01/20/07 11:47

"Jukka K. Korpela" wrote:
> Scripsit Michael:
>
>> Well, check the image at http://www.xs4all.nl/~tba/test.html
>> The top image is what I want.
>> The bottom image is what IE does.
> OK, _now_ the question is understandable.
My apologies for being so unclear. At least I finally did get the point
across :)

>> I just want the sublist to start on the SAME line as the parent list
>> and not on the NEXT line.
> Basically you have a list item that _starts_ with an inner list.
Syntactically, yes. Structurally, it's just a nested list.

> This is of course syntactically allowed and might make sense in odd cases,
> but normally there's some kind of a header for the inner list and the
> problem does not occur. When it does, IE indeed seems to misbehave.
Actually, The "Second item" caption should be the header of the inner list,
right?

> At least on IE 7, both in "standards" and "quirks" mode, the problem can
> be fixed by adding the following artificial rule:
> li { border: solid transparent 1px; }
And as that also fixed the problem in my IE 6 and Firefox 1.5 as well as
Firefox 2.0, I think you just solved my problem. Soooo easy (and yet I don't
think I'd have found it).

> (I guess I gets somehow rectified when it notices that it has to draw a
> border around a list item. :-))
I could make a mean remark about Internet Explorer now. But I won't. Just
glad it works.

Thanks so much Jukka!

Kind regards

Michael.

 

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

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