这是代码:
<div style="position: relative; left: 50%; transform: translateX(-50%); display: inline-block; width: 70vw; height: 30vw; background: url('ausschnitt.jpg') no-repeat; background-size: 100%;">
<input type="text" name="ort" placeholder="Ort" style="position absolute; margin-left: 30px; bottom: 30px; width: 140px;">
<select id="regbday_tag" style="left: 200px; bottom: 30px;">
<option value="" style="display: none;">Umkreis</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
</select>
</div>
如何将输入放置在底部距其30像素的空白处?
答案 0 :(得分:-1)
您有错字:
position absolute;
=>
position: absolute;