使用CSS样式TEXT-OVERFLOW处理长文本 [英] Handling long text using CSS style TEXT-OVERFLOW
本文介绍了使用CSS样式TEXT-OVERFLOW处理长文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都可以帮助我解决以下错误吗?
错误:
Can any one please help me solve the following error?
Error:
Error 7 Validation (CSS 2.1): 'text-overflow' is not a known CSS property name. G:\WebSite1\notes.css 11 1 G:\WebSite1\
在此先谢谢您!
Thanks in advance!
推荐答案
您显然想根据版本2.1的规范验证CSS. CSS Specification 2.1不支持文本溢出"样式,因此如果您有必要坚持使用CSS
2.1规范执行此操作:
打开文件G:\ WebSite \ Notes.css.搜索:
文字溢出:
注释掉这些行或将其全部删除.
问题解决了! (las,我确定您不会那样看:))
问候,
曼弗雷德(Manfred)
You obviously tried to validate your css against the specification of revision 2.1. The CSS Specification 2.1 does not support the style "text-overflow", thus if it''s a nescessity that you adhere to CSS
2.1 specs do this:
Open the file G:\WebSite\Notes.css. search for:
text-overflow:
Comment out these lines or remove them alltogehter.
Problem solved! (Alas I''m sure that you don''t see it that way :) )
Regards,
Manfred
这篇关于使用CSS样式TEXT-OVERFLOW处理长文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文