IMG hanging over bottom of DIV

timjpriebe's picture

He has: 2,667 posts

Joined: Dec 2004

I know someone's mentioned this before, but I have a problem with an image hanging over the bottom of a DIV, and I can't get it working right for the life of me. It hangs over in Firefox, not IE.

Here's the (temporary) URL:

http://www.havencomic.com/temp/

He has: 77 posts

Joined: Apr 2005

I posted earlier, and I misunderstood the problem. I didn't check the IE before I posted that. I have since deleted it. It would put your image under the div instead of inside of it. I think what you need to do is increase the "height" attribute in your css. You see, fire fox is more litteral and it's saying, "He wants this div to be exactly 184px from top to bottom." So that div is done when it reaches 184px, but your image alone is 187 px so even if it was the only thing there it would go off by 3px. I think you just have to add about 150px to your height.

timjpriebe's picture

He has: 2,667 posts

Joined: Dec 2004

Doh! You're absolutely right. I forgot that I put that in there because min-height wasn't working right in IE. I changed it back to min-height and will watch to make sure the height isn't an issue in IE.

Thanks for noticing that, Assassin.

timjpriebe's picture

He has: 2,667 posts

Joined: Dec 2004

Okay, now I'm having the same problem, but on a different page:

http://www.havencomic.com/characters.html

This time, the image is floating. I'm sure that once I find out the answer to this one, I'll feel foolish again. Smiling

He has: 77 posts

Joined: Apr 2005

I think that you need to place that last image tag inside of the p tag so it would look like:

He has two big arms with three smaller arms extending from them all armed with weapons.

instead of:

He has two big arms with three smaller arms extending from them all armed with weapons.

timjpriebe's picture

He has: 2,667 posts

Joined: Dec 2004

I just tried that. Did not work, unfortunately.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.