RE: [css-d] Shinkwrapping centered content and IE

2005-06-04 Thread Bruno Fassino
Roman Rudenko wrote: Does my variant work in IE5/Mac without additional hacks? IE5/Mac doesn't support display table. I tried to feed it the same relative positioning that you used for IE/Win, but I couldn't get it to work, it does not seem to like those percentage right/left values. Bruno

RE: [css-d] Shinkwrapping centered content and IE

2005-06-03 Thread Bruno Fassino
Roman Rudenko wrote: I've been looking for a way to do shrink to wrap block level element centering reliably in all modern browsers, including IE. Here is the solution I came up with. I have tried it in IE 5 and 6, Firefox 1.0.4 and Opera 8 (all under Windows). Demo page:

Re: [css-d] Shinkwrapping centered content and IE

2005-06-03 Thread Roman Rudenko
On Fri, 03 Jun 2005 14:48:19 -0700, Bruno Fassino [EMAIL PROTECTED] wrote: Interesting, I just had a quick look, and it seems to work! I use a different method [1], which is again a combination of display:table for good browsers, plus some display:inline-block and a couple of hacks for IE