PDA

View Full Version : Gap between Div's


Sman5109
03-02-2007, 04:37 AM
Hello,

I have 2 divs and (I think) there is a gap between them. I think the gap is between content_middle and content_bottom. If your at the page, you can see it by the bottom left corner of the "Ultimate FLCL" image. But you can only see the gap in FF. It looks great in IE7.

Heres the Page:
http://www.eliloewen.com/new/portfolio/

And the CSS:
http://www.eliloewen.com/new/stylesheet.css

Thank You

scrupul0us
03-02-2007, 04:41 AM
looks fine to me

Sman5109
03-02-2007, 04:51 AM
Ok......... Heres what I see in FF.

http://img133.imageshack.us/img133/9215/badog1.png

jlhaslip
03-02-2007, 05:18 AM
There is some margin from the last paragraph of the content poking down below the image, I guess, because when I removed the margin:bottom from that paragragh it went away.
.no_bottom {
margin-bottom:0;
}
and the last paragraph in the content has the class="no_bottom", of course.

It works for me in FF2, IE7, IE6, OPERA9 and NS8.

Sman5109
03-02-2007, 05:32 AM
Yep, I added:

p {
margin-bottom: 0px;
}

Works now

Thank You.

jlhaslip
03-02-2007, 08:04 AM
You realise the code you posted will affect all paragraphs on the page? You might be advised to add the code and method I supplied to only make the changes to the one paragraph in case it has implications elsewhere, but it is your page, I suppose.