December 2009
M T W T F S S
    Jan »
 123456
78910111213
14151617181920
21222324252627
28293031  

链接表

Blogroll

Search

IE,FIREFOX文本换行问题

December 24th, 2009 by jackingyu

在div+css的设计当中,文本的自动换行是一个比较难以处理的问题。IE下的方法很好解决。用css word-wrap 和break-word就可以解决了,firefox下的文本不支持单词间的自动段行,有两种方法可以解决这个问题,一种是采用javascript重写文本,还有一种是用一种不常见的方法,用一个xml来解决这个问题
具体参考如下链接,这是一个浏览器相关的解决方案,本质上其实也是用javascript来解决,不过事件是在ove
引用文献

Posted in web ui |

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.


To prove you're a person (not a spam script), type the answer to the math equation shown in the picture.
Anti-spam equation