Hey guys, I've tried the line height trick, display: block and padding/margin/border all set to 0 and I still get a space on top and bottom of my.
I figured that one way to do this is to wrap the text "Top and Bottom" around the image. However, as soon as I do this, the option to add a.
This is because you are floating the inner divs, float the outer div also to fix this problem. When you float elements, the parent element does not.
The CSS padding properties are used to generate space around an element's content, inside of any padding-top; padding-right; padding-bottom; padding-left .
The problem being it's adding a margin around all sides of the I would like to be able to only effect the top and bottom padding of the.