Re: [css-d] Centering floated elements ?

2009-06-28 Thread Tim Snadden
On 26/06/2009, at 10:36 PM, MEM wrote: >> > A little offtopic: Before IE8 I was having a emulation from MS to > IE6 on > IE7. But now, despite using sites that work with screen shoots, is > there any > other way to test IE6 rendering? What about ie7? I use a mac so I have several versions of

Re: [css-d] Centering floated elements ?

2009-06-26 Thread talofo talofo
> > IE/6 does not support min-height or min-width. > * html .dialog .wrapper { height: 400px; }/* 4 ie/6.0 */ > > > Thanks a lot David, I don't know why, but if I put * html .dialog .wrapper { height: 400px; } I get no left and bottom borders (I realize that this description lacks rigor :s), h

Re: [css-d] Centering floated elements ?

2009-06-26 Thread David Laakso
> I'm unable to get the scroll bars displayed on IE 6. Any help? > > Here it is: > http://www.cantinho.org/pt/cantinho-site/layout2.html > > K. Regards, > Márcio > > __ IE/6 does not support min-height or min-width. * html .dialog .wrapper { height: 400px; }/* 4 ie/6.0 */ _

Re: [css-d] Centering floated elements ?

2009-06-26 Thread MEM
> it looks like you have not yet looked at IE6. You need to hack IE to > handle transparent PNGs I have deal with the .png . Not easy because normally the fixs don't support css background properties. However here it is: (I'm starting to hate this "very simple" layout!!!) http://www.dillerdesig

Re: [css-d] Centering floated elements ?

2009-06-26 Thread MEM
> http://snadden.com/sandbox/mem2.html Thanks a million! >it looks like you have not yet looked at IE6. A little offtopic: Before IE8 I was having a emulation from MS to IE6 on IE7. But now, despite using sites that work with screen shoots, is there any other way to test IE6 rendering? What abo

Re: [css-d] Centering floated elements ?

2009-06-24 Thread Tim Snadden
On 24/06/2009, at 10:02 PM, MEM wrote: > Unfortunately the text-align center centers the content > on the wrapper, but not > on the "visual bordered box". The inline-block solution *does* work. Before you dismiss it I would suggest looking closer at your implementation. From what I can see

Re: [css-d] Centering floated elements ?

2009-06-24 Thread Climis, Tim
-Original Message- From: MEM [mailto:tal...@gmail.com] > I have done this, but the content still remains on the left side. I left out the part where you center the container-wrapper. Margin: 0 auto should work for that. Since the container-wrapper is the same size as its content then t

Re: [css-d] Centering floated elements ?

2009-06-24 Thread MEM
l post back new "features" soon. Regards, Márcio > -Original Message- > From: MEM [mailto:tal...@gmail.com] > Sent: quarta-feira, 24 de Junho de 2009 16:27 > To: 'Climis, Tim'; 'css-d@lists.css-discuss.org' > Subject: RE: [css-d] Centering float

Re: [css-d] Centering floated elements ?

2009-06-24 Thread MEM
Tim Climis wrote: > You should probably experiment > with different browser sizes and font-sizes to see if it breaks. :(( It breaks when I change the font size on IE and Safari :( Firefox seems to be fine. Can I have help on correcting this? Src: http://www.cantinho.org/pt/cantinho-site/round

Re: [css-d] Centering floated elements ?

2009-06-24 Thread MEM
> So put a wrapper div around your columns (actually you've already got > one - > container-wrappers). You'll need to give it a height and a width since > you've > floated everything inside it, but you can use ems like you did with the > columns. That'll "center" your floated contents in their co

Re: [css-d] Centering floated elements ?

2009-06-24 Thread Tim Climis
On Tuesday, June 23, 2009 2:11:38 pm MEM wrote: > Hello, > > I have three wrappers that I've put side by side by declaring the property > float:left; > The problem is that I'm unable to center them. > > Here: > http://www.cantinho.org/pt/cantinho-site/rounded_gradient_boxes_v4.html > > > > Any help

Re: [css-d] Centering floated elements ?

2009-06-24 Thread MEM
> we can center the content parent of the wrapper_container, > and push the wrapper_container (using margin) some pixels to the left. > (I will give it a try...). > No luck. The content doesn't get centered. I've tried to put on the content div the margin: 0 auto; and on the wrapper_container, r

Re: [css-d] Centering floated elements ?

2009-06-24 Thread MEM
> > Set the outer div to have text-align: center > Set div.wrapper etc. to be display: inline-block. > Remove the floats. > Thanks once again. Unfortunately the text-align center centers the content on the wrapper, but not on the "visual bordered box". For that I still need margin: 0 auto; Sinc

Re: [css-d] Centering floated elements ?

2009-06-24 Thread David Dorward
2009/6/23 MEM : > I have three wrappers that I've put side by side by declaring the property > float:left; > The problem is that I'm unable to center them. Despite being focused on menus, http://matthewjamestaylor.com/blog/beautiful-css-centered-menus-no-hacks-full-cross-browser-support is a good

Re: [css-d] Centering floated elements ?

2009-06-23 Thread Tim Snadden
Try this: Set the outer div to have text-align: center Set div.wrapper etc. to be display: inline-block. Remove the floats. To make this work in http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html

Re: [css-d] Centering floated elements ?

2009-06-23 Thread MEM
Thanks for your replys, > Enclose all three in a block. > And assign margin: 0 auto; to that block? @David No luck. :( I've tried, and re-tried, and, at the end, I've lost the point where I was... :s >I think it is because it thinks your wrapper_container >is as large as its parent element.

Re: [css-d] Centering floated elements ?

2009-06-23 Thread David Laakso
MEM wrote: > Hello, > > I have three wrappers that I've put side by side by declaring the property > float:left; > The problem is that I'm unable to center them. > > Here: > http://www.cantinho.org/pt/cantinho-site/rounded_gradient_boxes_v4.html > > > > Any help? I think we share a lot in comm

Re: [css-d] Centering floated elements ?

2009-06-23 Thread Joseph Sims
> I have three wrappers that I've put side by side by declaring the property > float:left; > The problem is that I'm unable to center them. > > Here: > http://www.cantinho.org/pt/cantinho-site/rounded_gradient_boxes_v4.html I think it is because it thinks your wrapper_container is as large as

[css-d] Centering floated elements ?

2009-06-23 Thread MEM
Hello, I have three wrappers that I've put side by side by declaring the property float:left; The problem is that I'm unable to center them. Here: http://www.cantinho.org/pt/cantinho-site/rounded_gradient_boxes_v4.html Any help? I live my thoughts and tries here: If my assumptions are true,