[css-d] unwanted space between div

2009-10-22 Thread Birdie
Hi, This is my first attempt at css layout (yes I'm finally banishing tables) and I have the simplest of problems already! I have two divs. They should have no space between them. At the moment there is a thin blue line of about 2px between the flag logo and the plane picture. I have set

Re: [css-d] unwanted space between div

2009-10-22 Thread Philippe Wittenbergh
On Oct 23, 2009, at 10:44 AM, Birdie wrote: I have two divs. They should have no space between them. At the moment there is a thin blue line of about 2px between the flag logo and the plane picture. I have set every margin and padding that I can think of to 0px. But it still will

Re: [css-d] unwanted space between div

2009-10-22 Thread Birdie
Phillipe wrote: Images are inline elements, and as such they rest on the baseline generated by their parent. That leaves some (tiny) space below the image, space that is used in the parent element to display descenders (p, q, j, etc). In your case, the 'offender' is the logo image. A few

Re: [css-d] unwanted space between div

2009-10-22 Thread David Laakso
Birdie wrote: Hi, I have two divs. They should have no space between them. At the moment there is a thin blue line of about 2px between the flag logo and the plane picture. http://www.koolfish.com/test/index.html Lisa CSS is sometimes frustrating but always worth it, Lisa. img