hi all,
how come this doesn't work? in ie, i get the outer span at 100% tall, but the inner span is aligned at top. in mozilla, i get both spans just wrapped around the text. shouldn't this make the outer span 100% tall with the inner span aligned in the middle vertically?
<body>
<span style="height:100%;border:1px solid red;">
<span style="vertical-align:middle;border:1px solid blue;">middle</span>
</span>
</body>
=========================================================
try { succeed(); } catch(E) { tryAgain(); }
-jeff
how come this doesn't work? in ie, i get the outer span at 100% tall, but the inner span is aligned at top. in mozilla, i get both spans just wrapped around the text. shouldn't this make the outer span 100% tall with the inner span aligned in the middle vertically?
<body>
<span style="height:100%;border:1px solid red;">
<span style="vertical-align:middle;border:1px solid blue;">middle</span>
</span>
</body>
=========================================================
try { succeed(); } catch(E) { tryAgain(); }
-jeff