Reputation: 1046
I'm trying to make a list containing images and input fields. I would like them to be vertically aligned, but all approaches so far has been without success. I've tried to set the line-height, fiddle with paddings and margins and create the entire layout with tables instead of li with no luck.
The markup in question can be found here. Any ideas?
Upvotes: 0
Views: 101
Reputation: 1786
EDIT:
I originally only tried in chrome. I think it might have been because of inconsistent input height.
Give this one a try..
http://jsfiddle.net/kg8HG/734/
Upvotes: 1
Reputation: 1388
Have you tried Display? http://www.w3schools.com/cssref/pr_class_display.asp
#pager ul li{
display:block;
}
Upvotes: 0