display:none; [英] display: none;

查看:81
本文介绍了display:none;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用一种风格来隐藏跳过导航链接但是它没有正确地使用

。风格是:

..textBrowsersOnly {

显示:无;

}


我''它在段落和导航链接中使用它但导航链接

仍然显示(使用无序列表)。

www.fape.org/zzzzzz.htm
www.fape.org/css/styleCSS1.css


请指教。


谢谢,


-

JayB

解决方案

JayB写道:

我正在使用一种风格隐藏跳过导航链接,但它不是
锻炼得当。风格是:
.textBrowsersOnly {
显示:无;
}

我在paragragh和导航链接中使用它但是
导航链接仍然显示(使用未订购的列表)。

www.fape.org/zzzzzz.htm
www.fape.org/css/styleCSS1.css

请告知。




你告诉浏览器不要用类

" textBrowsersOnly"显示段落。但是显示的是< a>。元素

里面。

我没有测试,但是将CSS更改为:


..textBrowsersOnly a {

显示:无;

}


可能会有所帮助。


请注意语音浏览器也可以通过不读取链接来兑现

显示:无...


-

Els
http://locusmeus.com/

Sonhos VEM。 Sonhos v?o。 Orestoébritfeito。

- Renato Russo -


Els写道:

你告诉了浏览器不显示带有类
textBrowsersOnly的段落。但是显示的是< a>。内部元素




请用< li>替换''段落''元素:S


-

Els
http://locusmeus.com/

Sonhos vem。 Sonhos v?o。 Orestoébritfeito。

- Renato Russo -




" Els" < EL ********* @ tiscali.nl>在消息中写道

news:Xn ***************** @ 130.133.1.4 ...

Els写道:

您告诉浏览器不显示带有类
textBrowsersOnly的段落。但是显示的是< a>。内部元素



请用< li>替换''段落''元素:S




谢谢Els,


-

JayB


I''m using a style to hide a skip navigation link but it''s not working out
correctly. The style is:
..textBrowsersOnly {
display: none;
}

I''m using it in a paragragh and in a navigation link but the navigation link
still shows up (using an un-ordered list).

www.fape.org/zzzzzz.htm
www.fape.org/css/styleCSS1.css

Please advise.

Thanks,

--
JayB

解决方案

JayB wrote:

I''m using a style to hide a skip navigation link but it''s
not working out correctly. The style is:
.textBrowsersOnly {
display: none;
}

I''m using it in a paragragh and in a navigation link but
the navigation link still shows up (using an un-ordered
list).

www.fape.org/zzzzzz.htm
www.fape.org/css/styleCSS1.css

Please advise.



You told the browser to not display the paragraph with class
"textBrowsersOnly". But what is displayed is the <a> element
inside it.
I didn''t test, but changing the CSS to:

..textBrowsersOnly a{
display: none;
}

might help.

Be aware that speech browsers might also honour the
display:none, by not reading the link...

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos v?o. O resto é imperfeito.
- Renato Russo -


Els wrote:

You told the browser to not display the paragraph with class
"textBrowsersOnly". But what is displayed is the <a> element
inside it.



Please substitute ''paragraph'' with <li> element :S

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos v?o. O resto é imperfeito.
- Renato Russo -



"Els" <el*********@tiscali.nl> wrote in message
news:Xn*****************@130.133.1.4...

Els wrote:

You told the browser to not display the paragraph with class
"textBrowsersOnly". But what is displayed is the <a> element
inside it.



Please substitute ''paragraph'' with <li> element :S



Thanks Els,

--
JayB


这篇关于display:none;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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