[css-d] Shinkwrapping centered content and IE

2005-06-03 Thread Roman Rudenko
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

Re: [css-d] something weird in Linux

2005-05-13 Thread Roman Rudenko
On Fri, 13 May 2005 08:42:29 -0700, Ingo Chao [EMAIL PROTECTED] wrote: Barbara Dozetos schrieb: http://www.pcc.com/ For some reason, the leftnav box appears too high on the page in Mozilla and FF on the initial load. A refresh of the page puts it where it belongs. I can reproduce something

[css-d] Re: Problem centering items within a horizontal list in IE

2005-05-04 Thread Roman Rudenko
I am assuming that you are trying to center labels inside as. The simple way is to add text-align: center to actual block level container of your label - the a element. Once you do this, text-align would become redundant on li and ul - you can safely remove it from there. However, if I were