Afficher un message
Vieux 02/03/2008, 03h09   #1
GTalbot
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Inline box model question

Hello fellow stylesheet colleagues,

I'd like to be sure about my understanding of the inline box model.

Question: In this webpage,
http://www.gtalbot.org/BrowserBugsSe...eElements.html
I submit that inline box height should not grow, should not stretch
vertically to fit nested inline child elements. Am I wrong? I can't
seem to find the exact spot where CSS 2.1 says so.

Same issue, same question with
http://www.gtalbot.org/BrowserBugsSe...I-padding.html
and
http://www.gtalbot.org/BrowserBugsSe...LI-margin.html

I think CSS 2.1, section 10.6.1
applies, in particular
"The vertical padding, border and margin of an inline, non-replaced
box start at the top and bottom of the content area, not the 'line-
height'. But only the 'line-height' is used when calculating the
height of the line box."
http://www.w3.org/TR/CSS21/visudet.h...e-non-replaced

Ref.:
http://www.gtalbot.org/BrowserBugsSe...IE7Bugs/#bug15
http://www.gtalbot.org/BrowserBugsSe...E7Bugs/#bug114
http://www.gtalbot.org/BrowserBugsSe...E7Bugs/#bug115

Regards, Gérard
--
Internet Explorer 7 bugs
http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/
  Réponse avec citation
 
Page generated in 0,05023 seconds with 9 queries