2012-04-21 8 views
0

以内の間隔を設定するこんにちは、私は私のCSSに以下のコードを持っている:はテーブル

#cartTable { 
width:100%; 
border-collapse: collapse; 
border-spacing: 0px; 

} 

#cartTable td { 
text-align: center; 
color:#ffffff; 
font-family: 'AllerBoldItalic', Arial, serif; 
font-size: 14px; 
border-top:1px solid; 
border-bottom:1px solid; 
border-color:#c8a300; 
} 

#cartTable td img{ 
position: relative; 
top: 10px; 
} 

.cartText{ 
padding-bottom:10px; 
} 

#cartTable input[type="text"] { 
width:50px; 
height:15px; 
vertical-align:bottom; 
margin-bottom:5px; 
} 

#cartTable select { 
width:100px; 
height:25px; 
position: relative; 
top: 10px; 
padding-bottom:10px; 
} 

を私の問題は、私はしたいと思いながらcartTextのクラスを持っているテキストは、行の下に貼りされていることですイメージと同じ高さにあるか、select要素とtextbox要素に含まれています。

ご協力いただければ幸いです。

答えて

0

line-heightをfont-sizeと同じに変更してください。