送信ボタンを画像で配置したいのですが、上手くいきません
理想としては解像度が変わっても送信ボタンは正方形でインプットエリアが伸びるようにしたいと思っています・・・。
コードになります。
<div id="footerss"> <input id="intex" type="text"> <input id="but" type="submit" value="送信"> </div> <style> #footerss { background-image:url('texss/bottom.png'); background-size: 100%; position: absolute; left: 0; bottom: 0; width: 100%; height:9%; } #but{ background-image:url('texss/send.png'); background-size: 100%; position: absolute; right: 10px; bottom: 0; width: 12%; height:100px; } #intex{ background-color: transparent; position: absolute; width: 80%; height:auto; } </style>
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。