• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 298
  • Last Modified:

Vertical align images inside table data

I have a table row with two cells. The first cell contains the search input with a background image. The second cell contains an image (not background image), which acts as the submit button.

I'm not able to get them to align vertically in IE7. Can someone tell me what I am missing? The two images are both the same height (25px).

You can see from the image that the input background image is about 2px higher than the submit button image.
Capture.JPG
0
mmoore500
Asked:
mmoore500
2 Solutions
 
Jagadishwor DulalBraces MediaCommented:
Try css code for submit button;
submit{
 border:none;
padding:0px;
margin:0px;
}

Open in new window


And it's better if you post your code so that we can see the problem.
0
 
blueghoztCommented:
another thing you could try is applying CSS to the TD in question ensuring it has vertical-align:top or inline <td valign="top">
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now