
June 25th, 2009, 08:32 AM
|
|
|
|
Vertical Aligning Form/Button in Table Cell... font-size???
I'm trying to reduce the amount of real estate that a form and button are taking up in my table. They are expanding the whole row and lining them up with the other contents isn't working in the CSS methods I've tried. Finally I tried reduce the font-size of the cell containing the form and button (all the way down to 1px) which gives the desired result... but I'm a bit concerned about implementing it into all the tables in the site because it seems a bit 'hacky'. Is there a better way to do this?
My Webpage
You'll see in the first table, final column containing the button, that the button and form and pushed up against the top of the cell and the other cells now have more padding.
In the second table, my "font-size:1px" has been applied and gives the desired result. Just curious if there is a better way to do this or if this is will be fine.
|