0
如何使<td>
寬度完全一樣輸入OK按鈕和其它輸入最大寬度,以及如何設置的輸入的value="Ok"
文字大小:如何使用輸入按鈕和文本大小按鈕設置td的樣式?
<div id="resourcelink">
<form method="POST" action="FeedController">
<table id="resource-link">
<tr>
<td><input type="text" id="resourcelink" name="sourceLink" /></td>
<td><input type="submit" name="linkSub" value="Ok" /></td>
</tr>
</table>
</form>
</div>
<body>
的CSS:
input#resourcelink {
width: 100%;
}
首先清理標記。有重複的元素ID。每個ID必須在每個頁面上唯一。 – DaveB