删除图像上的链接样式 [英] Remove link styles on images

查看:71
本文介绍了删除图像上的链接样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我刚刚开始玩CSS,所以可能有一个非常明显的答案。


在我的样式表中,我有以下样式来设置页面上的超链接:

展开 | 选择 | Wrap | 行号

解决方案





我刚刚开始玩CSS,所以可能有一个非常明显的答案这个。


在我的样式表中,我有以下的风格炒作页面上的链接:

展开 | 选择 | Wrap | 行号





我认为这应该有效,但这意味着我必须确保将该类添加到我的所有链接中。我没有什么可以做的,只是说一个href标签中的图像,不要应用样式


干杯

Luke < blockquote>





我认为应该可行,但这意味着我必须要确保我将该类添加到我的所有链接。我没有什么可以做的'全球只是说如果一个href标签内的图像,不适用的风格


干杯

卢克



嗯我不确定.....我会调查它,看看是否有另一种方式,但我不认为那里是。虽然添加了id =""不会杀了你,你的gona不得不输入很多,所以更多的不应该受伤。如果我发现任何东西,我会回复。


- 死亡


Hi,

I''ve only just started playing about with CSS so there might be a really obvious answer to this.

In my style sheet i have the following to style the hyperlinks on the page:

Expand|Select|Wrap|Line Numbers

解决方案

Hi,

I''ve only just started playing about with CSS so there might be a really obvious answer to this.

In my style sheet i have the following to style the hyperlinks on the page:

Expand|Select|Wrap|Line Numbers


Hi,

I think that should work, but it means i''ll have to make sure i add that class to all my links. Is there nothing I can do that''s global that just says if a image within a href tag, dont apply the styles

Cheers
Luke


Hi,

I think that should work, but it means i''ll have to make sure i add that class to all my links. Is there nothing I can do that''s global that just says if a image within a href tag, dont apply the styles

Cheers
Luke

hmm i''m not sure.....I''ll look into it and see if there''s another way but i don''t think there is. Although adding id="" isnt going to kill you, your gona have to type alot anyways so a little bit more shouldnt hurt. I''ll post back if i find anything.

- Death


这篇关于删除图像上的链接样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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