Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-05 Thread Ingo Chao
2010/1/5 Philippe Wittenbergh e...@l-c-n.com: On Jan 5, 2010, at 3:06 PM, Ingo Chao wrote: So it is an almost standards mode problem, triggered by the transitional doctype [2]? The inner inline-block is sitting on a baseline in strict, and in transitional, it doesn't [3]. With both

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-05 Thread Gabriele Romanato
Honestly, I don't see the point in using a transitional DTD in order to use an iframe. I stumbled on the same problem while developing a recent web site that makes use of a Google Map. I decided to create the iframe through JavaScript, providing a textual description of the map for assistive

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-05 Thread Philippe Wittenbergh
On Jan 5, 2010, at 5:53 PM, Ingo Chao wrote: Thanks for the better reduction. In your first testcases, http://dev.l-c-n.com/_temp/ib-strict.html http://dev.l-c-n.com/_temp/ib-trans.html the behavior differs when I add height:1em to the inner EM. Yes that is right, and what I would expect.

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-05 Thread Alan Gresley
Ingo Chao wrote: (snip) Thanks for the better reduction. In your first testcases, http://dev.l-c-n.com/_temp/ib-strict.html http://dev.l-c-n.com/_temp/ib-trans.html the behavior differs when I add height:1em to the inner EM. best, Ingo I'm late. Maybe transitional mode is showing pre

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-05 Thread Bruno Fassino
On Tue, Jan 5, 2010 at 1:21 PM, Philippe Wittenbergh e...@l-c-n.com wrote: On Jan 5, 2010, at 5:53 PM, Ingo Chao wrote: Thanks for the better reduction. In your first testcases, http://dev.l-c-n.com/_temp/ib-strict.html http://dev.l-c-n.com/_temp/ib-trans.html the behavior differs when I

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-05 Thread L. David Baron
On Tuesday 2010-01-05 23:24 +1100, Alan Gresley wrote: Maybe transitional mode is showing pre Firefox 3 rendering. It was Firefox 3 which first supported display: inline-block. https://developer.mozilla.org/en/CSS_improvements_in_Firefox_3 No, we (as for all browsers other than IE, I think)

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-05 Thread L. David Baron
On Monday 2010-01-04 15:22 +0100, Ingo Chao wrote: In Strict mode, the red span encloses the text - in transitional mode, it dosn't. What's happening here is that you have one inline-block within another, and it is vertical-align:baseline. However, you've set line-height and height on the

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-05 Thread Ingo Chao
Thanks a lot, David, for this clarification, and for linking to the discussion in #24186 (10 years ago!) Thanks again to all who helped. Ingo __ css-discuss [cs...@lists.css-discuss.org]

[css-d] float: left; height: 100%?

2010-01-05 Thread Jack Bates
How can I style the following, div class=field h3Name/h3 div Value /div /div - so it displays with the name on the left, the value on the right, and a grey background behind the name? http://www.sfu.ca/~jdbates/tmp/css/201001050/screenshot.png I almost have it working,

Re: [css-d] float: left; height: 100%?

2010-01-05 Thread David Laakso
Jack Bates wrote: How can I style the following, div class=field h3Name/h3 div Value /div /div - so it displays with the name on the left, the value on the right, and a grey background behind the name? Dunno. Have you tried: .field { border-bottom: .1px solid;

Re: [css-d] css for keyboard link focus

2010-01-05 Thread Ingo Chao
2010/1/5 David Laakso da...@chelseacreekstudio.com: I am not very adept at all the ins and outs of cross-browser keyboard use. Any suggestions for improvement of the CSS for keyboard users on this site is appreciated. Thanks. markup http://chelseacreekstudio.com/ css: lines 39-70