On May 3, 2010, at 9:56 AM, Tab Atkins Jr. wrote: > Your statement that the display:inline vs. inline-block describes > placement wrt inline siblings of the box" seems incorrect. Inlines > and inline-blocks act the same wrt their siblings (that is, they have > the same display-outside value, 'inline'). The difference is that an > inline has display-inside:inline, which means that any initial or > final linebox children get merged into the lineboxes of its parent, > while an inline-block has display-inside:block, which doesn't do that. With 'display:inline-block', you also can have margin on the outside, which you don't get with 'display:inline'.
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:45 UTC