Question: Custom image button inside table cell

LoveMercy

Member
Joined
Dec 12, 2007
Messages
8
Programming Experience
1-3
I've placed a custom image button inside a table cell. I've used vertical-align: text-top in CSS for the cell to make the image button appear right below the upper border of the cell. There is an empty space between the image button and the lower border of the cell that I'm not able to get rid of. I've tried padding-bottom:0 in CSS for the cell, but it doesn't fix the problem. I've also tried height:73 (the height of the image) in HTML and height:73px in CSS for the cell without any success. I'm using Internet Explorer 6. How do I get rid of this space?
 
dear, put ut cursor after the imagebox and then press either delete or backspace, it will sure solve ur problem if not will give u other suggestion
 
Didn't work. There was no   after the image button. I think this problem might have something to do with the width of the surrounding table cells. Something forces the cell to put an extra row under the content. It seemed like the problem appeared when I put rowspan="2" on the cell to the right of the cell with the image button in it.
 
Back
Top