1

コントロールの残りの要素を捨てることなく、jQuery Mobile スライダーの入力領域の幅を広げる方法を教えてください。入力領域で大きな数値がクリッピングされています。

   <!DOCTYPE html>
<html>
<head>
<link href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" rel="stylesheet" type="text/css" />
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>

    <section id="page1" data-role="page">
        <header data-role="header" data-theme="a"       data-position="fixed">

        </header>                <div data-role="fieldcontain" id="trDesiredAnnuityPayment">
                    <label id="PremiumText" for="txtDesiredAnnuityPayment">Desired Payment</label>
                    <input type="range" id="txtDesiredAnnuityPayment" name="txtDesiredAnnuityPayment"
                  step="1000" value="2088880" min="1000" max="5000000">
                </div>  </section>
  </body>
</html>
4

1 に答える 1

0
#txtDesiredAnnuityPayment{
    width:auto;
}

グーグルクロームでテスト済み。

于 2013-09-23T10:39:11.413 に答える