我有兩個datalist
元素在中間對齊,文本在它們上方,並且有兩個按鈕。將文本對齊中心兩側
body {
background-color: DarkGray;
}
h1 {
color: black;
font-size: 30px;
font-family: 'lucida console'
}
span {
color: #443431;
font-weight: bold;
font-family: 'Courier New'
}
<ol style="text-align:center; list-style-position:inside;">
<h1>Ref</h1>
<form name="ref" onsubmit="return generateLink();">
<span>PiCK</span>
<br>...
<br>
<br>
<span>PiCK #2</span>
<br>...
<br>
<br>
<input type="submit">
<br>
<input type="reset">
</form>
</ol>
我想什麼有如下:
對如何處理它的任何建議?這幾乎是我第一次使用html
,我不熟悉這樣做的不同方式。
有沒有辦法解決學習HTML非常基本的,然後再CSS。您的HTML代碼包含很多錯誤,我甚至不知道從哪裏開始...... – connexo