Click to See Complete Forum and Search --> : Troublesome H3 and IMG


Sunny G
09-21-2005, 02:26 PM
Hi everybody! I'm working on my page, and I've got an H3 that won't work. Attached is a screenshot of the problem. I want the H3 to have the background, but I don't want it to be on the other side of the image.
It only does this in IE but in FF it works OK. What do I do?

BonRouge
09-21-2005, 02:31 PM
Post a link.

Sunny G
09-22-2005, 11:22 PM
OK, I fixed it! I just added a margin-left to the H3.
Now I see that my text is right up against the left side of the background-color beside the img, despite the padding. That prob is alredy displayed in the attached image in my last post.

I have attached the page as a zip folder.

Thanks everybody!

jogol
09-23-2005, 03:45 AM
#MAIN img {
margin-right: 10px;
}

Sunny G
09-23-2005, 12:43 PM
Kool! It worked!
Thanks jogol!
I had that problem for quite a while and now it is gone! Whoo-Hoo!
*Runs down the hallway leaping with joy*