只是想补充一点,这是电子表格的代码。不确定在哪里使用 CSS。我需要编辑页面的主要 css 吗?
如何更改此代码上的字体并为文本添加颜色,我将其用于在 modx 中创建的 eForm
<div style="background-color:#CCDFED">
<form method="post" action="[~[*id*]~]">
<input type="hidden" name="formid" value="registrationForm" />
<table>
<tr>
<td><label for="reasons" style="margin:0.5em">Reason for contacting us:</label></td>
<td><textarea cols="60" rows="3" name="reasons" eform="Reasons::1"></textarea></td>
</tr>
<tr>
<td><label for="products" style="margin:0.5em">Which sweets </label>
<label style="margin:0.5em">do you like:</label>
<td>
<input type="checkbox" name="products[]" value="icecream" eform="Sweets::1"/>	Ice Cream <br/>
<input type="checkbox" name="products[]" value="bananasplit" />	bananasplit<br/>
</td>
</tr>
<tr>
<td><label for="how" style="margin:0.5em">How did you hear about us:</label></td>
<td>
<select name="how" style="width:200px" eform="How::1" >
<option value="web_search">Web search</option>
<option value="friends">Friends</option>
<option value="word_of_mouth">Word of Mouth</option>
</select>
</td>
</tr>
</table>
</form>
</div>