How to avoid gap between image and text div?
If I put an image and just under it div filled with text there always seems to be a gap between these two element. Setting margins and paddings to zero doesn't help. One thing I noticed is that if I put value of vertical-align of image to "bottom" problem is cured on IE but not on Mozilla. Do I have to use negative margins or is there any better solutions?
-Teemu
Busy posted this at 21:58 — 6th July 2004.
He has: 6,151 posts
Joined: May 2001
can you give us some sample code
vexcom posted this at 04:55 — 16th July 2004.
He has: 21 posts
Joined: Jul 2004
La tee da
try that, actually it should work without the second div, but im too tired to test it, cant display HTML here AFAIK
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.