没有表格的网页上的文本选择 [英] Text selection on web pages designed without tables

查看:65
本文介绍了没有表格的网页上的文本选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

设计CSS和没有表格的一个缺点似乎是从网页中选择特定的文本块进行复制和

粘贴,或者为了要通过文本到语音转换程序来阅读它是非常困难的。我自己的网站 www.webswonder.co.uk 就是一个例子。


有没有人对如何克服这个问题有任何建议?


谢谢,


Jeremy

解决方案



" Jeremy Clulow" < JE **** @ webswonder.net>在消息中写道

新闻:ee ************************** @ posting.google.c om ...

设计CSS和没有表格的一个缺点似乎是从网页中选择特定的文本块进行复制和粘贴,或者为了使它成为通过文本转语音程序阅读非常困难。


通常情况下一点也不困难。

我自己的网站 www.webswonder.co.uk 就是一个例子。
有没有人对如何克服这个问题有任何建议?




转到

http://validator.w3.org/check?uri=ht...swonder.co.uk/


并找到页面代码中的所有错误。修复它们,看看是否有帮助。


在消息< ee ********************** ****@posting.google.com> ;, Jeremy

Clulow< je **** @ webswonder.net>写道

使用CSS设计和没有表格的一个缺点似乎是从网页中选择特定的文本块来复制和粘贴,或者为了它通过文本转语音程序阅读是非常困难的。我自己的网站 www.webswonder.co.uk 就是一个例子。

有没有人对如何克服这个问题有任何建议?

谢谢,

Jeremy




为什么你认为文本转语音程序存在问题?我已经听了你的一些页面,他们看起来很好。 (我假设

你指的是屏幕阅读器,说话浏览器等等。)


除了''跳到xxxxx''链接,当然 - 而且他们非常

*隐形*。


''快捷方式''被称为''可见性:在CSS中隐藏''。大多数

屏幕阅读器和会话浏览器都会尊重这一点而不会说

内容。


使用CSS简单定位离开屏幕;那么他们会好的。
工作正常。


问候。


-

杰克


Jeremy Clulow写道:

有没有人对如何克服这个问题有任何建议?



不要做那么多的绝对定位?


-

Toby A Inkster BSc(荣誉)ARCS

联系我〜 http://tobyinkster.co。英国/联系方式


One disadvantage of designing with CSS and without tables appears to
be that selecting specific block of text from a web page to copy and
paste, or in order for it to be read by a text-to-speech programme is
very difficult. My own website
www.webswonder.co.uk is an example.

Does anyone have any suggestions as to how to overcome this please?

Thanks,

Jeremy

解决方案


"Jeremy Clulow" <je****@webswonder.net> wrote in message
news:ee**************************@posting.google.c om...

One disadvantage of designing with CSS and without tables appears to
be that selecting specific block of text from a web page to copy and
paste, or in order for it to be read by a text-to-speech programme is
very difficult.
It isn''t normally difficult in the slightest.
My own website www.webswonder.co.uk is an example.
Does anyone have any suggestions as to how to overcome this please?



Go to

http://validator.w3.org/check?uri=ht...swonder.co.uk/

and find all the errors in your page''s code. Fix them and see if that helps.


In message <ee**************************@posting.google.com >, Jeremy
Clulow <je****@webswonder.net> writes

One disadvantage of designing with CSS and without tables appears to
be that selecting specific block of text from a web page to copy and
paste, or in order for it to be read by a text-to-speech programme is
very difficult. My own website www.webswonder.co.uk is an example.

Does anyone have any suggestions as to how to overcome this please?

Thanks,

Jeremy



Why do you think there''s a problem with text-to-speech programmes? I''ve
listened to some of your pages and they seem just fine. (I''m assuming
that you''re referring to screen-readers, talking browsers, etc.)

Except for the ''skip to xxxxx'' links, of course -- and they''re quite
*invisible*.

''shortcuts'' is styled ''visibility:hidden'' in the CSS. Most
screen-readers and talking browsers will respect this and not speak the
contents.

Use CSS to simply position the links off of the screen; then they''ll
work OK.

regards.

--
Jake


Jeremy Clulow wrote:

Does anyone have any suggestions as to how to overcome this please?



Don''t do as much absolute positioning?

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact


这篇关于没有表格的网页上的文本选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆