Re: [css-d] reduce vertical space between divs

2009-06-27 Thread David Hucklesby
MEM wrote: [...] > > And now I'm able to give symmetric negative margins on .destaque and > allow a more closer effect, not the best approach on this case...? > Using margins for positioning has always worked well for me - both positive and negative margins. I don't think you'll have any problem

Re: [css-d] reduce vertical space between divs

2009-06-27 Thread David Hucklesby
MEM wrote: > > I'd like to reduce the vertical space between two divs so that the > div on top of the image stays close to the image, and the div at the > bottom of the image stays close to the image too. > > Here's the example: > > http://www.cantinho.org/pt/cantinho-site/layout3.html > > I ha

Re: [css-d] reduce vertical space between divs

2009-06-27 Thread MEM
> Well, you have a DIV class="bottom" between those two DIVs, with a > specified height of 13px. Is this creating the "vertical space" you > see, > perhaps? > Thanks for the reply David, Yes, the height is defined as 13px and that could solve the top space (between the top div and the image), ho

Re: [css-d] reduce vertical space between divs

2009-06-27 Thread MEM
> The space difference don't disappear, what/where should I change to > make this work? Done. Hope the right way. :) I've give negative margins to the container that holds the image, and the space has shortened. Something like: .container .destaque { margin-top:-5px; margin-bott