Click to See Complete Forum and Search --> : spacing on <INPUT>


airforcemook
08-13-2005, 11:30 AM
<INPUT TYPE="TEXT" ... blah blah

I have a whole bunch of images before the INPUT that are 25 pixels high. Unfortunately, when it gets to the input it doesn't position it correctly and it hangs down about 5 or so pixels from the top of where it should be. The left/right portion is correct, it butts right up against the previous image, and the next one. But how can I fix it so it's not hanging down below the rest of them? Or at leats be in the middle of the rest... I've tried modifying the valign to middle/top for the cell but it has no effect.

FYI. It's in a table with 0 cellspacing or padding, all other images line up fine and the total height of that cell should only be 25 pixels.

You can see a picture of it in the attachments:

Fang
08-13-2005, 12:04 PM
td img {vertical-align: bottom;}
td input {margin:0;}

airforcemook
08-14-2005, 12:19 AM
Thx a bunch!