I’m having a little bit weird problem with my HTML. I never had this problem before.
test page: http://jsfiddle.net/egjJ5/1/
I see white space between the image and the black div. When I take out DTD, it renders fine.
Do i have a problem with my html or css?
The image is an
inline-blockand the div underneath it is ablock. There are several ways you could fix this. One would be to adddisplay: blockto the image as in this example.