我有一个特定的标头@future
,但我的div类似乎无法正常工作。
HTML:
<div class="input-group">
<input th:title="host" type="text" class="form-control"
th:id="host"
placeholder="https://example.com/"
th:field="hostvalue" />
<input th:title="path" type="text"
class="form-control"
th:id="Path"
placeholder="https://example.com/"
th:field="path" />
<span th:title="hold" class="input-group-addon checkbox-custom">
<input th:title="hold"
class="form-checkbox-custom"
th:id="OnHold"
type="checkbox"
aria-label="..."
th:field="onHold"
>
<label th:for="OnHold" >on hold</label>
</span>
<span th:title="enabled" class="input-group-addon checkbox-custom">
<input th:title="enabled"
class="form-checkbox-custom"
type="checkbox"
th:id="Enabled"
aria-label="..."
th:field="enabled"
/>
<label th:for="Enabled" >enabled</label>
</span>
</div>
I tried adding span tag and div tag ,but still the second input box is displaying in second row.
I expect the output like host,url,hold,enabled fields in a row but I am getting url field in a second row.
尝试过CSS。
h1
没事。
我正在尝试定位<h1>Design Consultancy</h1><div
class="mb32"><p>Design
Consultancy</p>
</div><a class="btn btn-lg btn-
filled"
href="https://adsler.co.uk">Design
</a><a class="btn btn-lg btn-
white"href="http://4309.co.uk/
portraits/">Illustration</a>
</div>
字样