摘要:
问题是这样的:给input设置背景时如果不加fixed,即固定背景那么在IE下当输入文本超过文本框时背景会同时向左移动此问题在firefox下是不存在的。如下:程序代码<input type="text" style="background: #fff url(http://www.jasminemm.cn/img/icon_search.jpg) no-repeat 2px 2px;bor... 阅读全文
摘要:
长英文自动换行的最终解决方法: 在table标签中加入 style="WORD-WRAP: break-word;TABLE-LAYOUT: fixed;word-break:break-all" 如果可以了,就不用向下看下了。 word-wrap同word-break的区别 word-wrap: normal Default. Content exceeds the boundaries of ... 阅读全文
摘要:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta htt... 阅读全文