Reply to Re: Menu list broken by form button

Your name:

Reply:


Posted by Jukka K. Korpela on 07/11/07 22:56

Scripsit Ben C:

>> It's not clear (at least by my reading of CSS specs) what should
>> happen if an element with display: block appears inside an element
>> with display: inline.
>
> It is well-defined by CSS 2.1. See 9.2.1.1 "Anonymous block boxes"

OK, thanks.

>> Strange things _might_ happen in future browsers, when the default
>> display: inline-block (for img, input, select etc., as per CSS
>> specs) is changed to display: inline.
>
> Is that expected to happen? I think img already is display: inline by
> default.

According to the sample style sheet for HTML in the CSS 2.1 draft, img has
display: inline-block. The sample style sheet is not normative, but what
else could we use here to make our guess?

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[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

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