Link to home
Start Free TrialLog in
Avatar of Basssque
Basssque

asked on

Aligning content in the middle or bottom of a table cell

I have a table where I was asked to change the height of the rows which wasn't a problem using style="height:40px".  After doing so, the text looks like it's pushed up to the top of each cell so to push it down I tried style="vertical-align:bottom; height:40px" but the contend didn't move down at all.  Am I missing something?   There is a global style sheet that applies to the entire page, but I thought these styles within a <tr> tag would overwrite that.  Any tips would be greatly appreciated!  Thanks

<tr style="vertical-align:bottom; height:40px">
<td>Locker Number<input type="text" name="[01]locker_number" value="" size="5"></td>
<td>Locker Combination<input type="text" name="[01]locker_combination" value="" size="10"</td>
</tr>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Jim Riddles
Jim Riddles
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Basssque
Basssque

ASKER

Perfect, thank you!!