2006年2月24日

摘要: 最近在实现一个webcontrol的showhistory功能的时候,遇到了下面的问题:如果连续输入日文很长的字符串,那么historylist的item将被撑得很大,不便于查找其他item。 在这里,我们不希望实现自动换行。由于每一个item是一个Div。对于IE浏览器,找到了如下属性,whiteSpace。 在代码中加上一句话:newDiv.style.whiteSpace = 'nowra... 阅读全文
posted @ 2006-02-24 15:46 amanda 阅读(120) 评论(0) 推荐(0) 编辑

2006年1月6日

摘要: NET Framework version 2.0新增加了一个property——AutoCompleteType。 To assist with data entry, Microsoft Internet Explorer 5 and later and Netscape support a feature called AutoComplete. AutoComplete monitors ... 阅读全文
posted @ 2006-01-06 11:55 amanda 阅读(434) 评论(0) 推荐(0) 编辑