Re: [css-d] centering elements in IE

2006-10-23 Thread Rob O'Rourke
Rimantas Liubertas wrote: >> Hi all, >> >> In most browsers, I can do things like >> >> img.logo { margin: 0 auto; } >> >> which results in the element centred within its parent container. >> >> Of course, this does not work with IE. Short of adding >> a text-align:center to the parent (which is

Re: [css-d] centering elements in IE

2006-10-23 Thread Rimantas Liubertas
> Hi all, > > In most browsers, I can do things like > > img.logo { margin: 0 auto; } > > which results in the element centred within its parent container. > > Of course, this does not work with IE. Short of adding > a text-align:center to the parent (which is *not* what I want), how > can one ge

Re: [css-d] centering elements in IE

2006-10-23 Thread Stefan Nagtegaal
Op 23-okt-2006, om 20:07 heeft martin f krafft het volgende geschreven: > Hi all, > > In most browsers, I can do things like > > img.logo { margin: 0 auto; } > > which results in the element centred within its parent container. > > Of course, this does not work with IE. Short of adding > a text

[css-d] centering elements in IE

2006-10-23 Thread martin f krafft
Hi all, In most browsers, I can do things like img.logo { margin: 0 auto; } which results in the element centred within its parent container. Of course, this does not work with IE. Short of adding a text-align:center to the parent (which is *not* what I want), how can one get the same effect