<分区>
标签 html css html-table
<分区>
我的 CSS 中有这个:
ES{
max-width:20px;
word-wrap:break-word;
}
我的 table 看起来像这样......
<table border="1" cellpadding="2" class="ES" >
<tr>
<td><input name="rbeso" type="radio" id="rblimpet" value="limpet" title="Seafood" /><b>The Doctor Limpet</b> Fresh from the sea! Crab flakes, alfredo sauce and mozzarella cheese.</td>
</tr>
我希望单元格具有最大宽度,但这似乎没有什么区别...
最佳答案
错别字:
.ES {
^--missing
没有.
,您正在为一些不存在的 <es>
定义一个 css 规则标记,而不是 CSS 类。
关于html - 最大化单元格宽度的 CSS 表格属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10056727/