长标签标题问题

时间:2012-08-22 07:07:04

标签: html internet-explorer

我们使用标题标签来显示标签的描述。但是当描述很长时,在IE结尾处修改了值。在Firefox中正确显示相同的描述。

<label title="An test used by the test test teszt aaaaa contains combination of numbers to identify the specific state and city in which the subject resides. Design Note: This element stores the complete test test test as it is being returned by the address standardization application. It might be different from the combination of postal code and the postal code extension code. Note: This test any test test test Extension. If this data has been derived by concatenating the elements Postal Code and Postal Code Extension then these elements will be separated by a hyphen (-). This is a test test test element which test test test test data already test testt test test in the test test test stest tes t Address Line." > Full Test test Code :</label>

可能是什么问题?

1 个答案:

答案 0 :(得分:2)

问题是固定大小的缓冲区,用于在IE中存储工具提示文本。 The documentation声明title属性限制为512个字符。一般来说,不建议将小说放在title属性中。 »This attribute offers advisory information about the element for which it is set.« - 它并不是真正意味着过长的描述。