为了账号安全,请及时绑定邮箱和手机立即绑定

为什么超链接没有形式改变?

为什么超链接没有形式改变?

慕娘0415944 2018-11-03 20:39:44
<!doctype html><html><head><meta charset="utf-8"><title>cs go</title><style type="css/text">a{display:inline-block;  color:white;  marign:0px 10px}</style>   </head><body background="csgo1.jpg"><img src="" width="" height=""><table width="960" height="90" align="center"><tr align="center"><td><font size="20" color="#808080" >CSgo</font></td></tr><table class="daohang" width="40%" height="900" align="left"><tr line-height="10em" align="center"><td><li><a href="https://www.csgo.com.cn/index.html">首页</li><li><a href="https://www.csgo.com.cn/news/index.html">新闻资讯</li><li><a href="https://www.csgo.com.cn/videos/index.html">精彩视频</li><li><a href="https://www.csgo.com.cn/tips/index.html">玩家攻略</li><li><a href="https://www.csgo.com.cn/hd/1610/info/index.html">游戏资料</li><li><a href="https://passport.wanmei.com/sso/login?service=csgo&location=2f">个人中心</li></td></tr></table><table width="40%" height="900" align="right"><tr align="center"><td><li><a href=""></td></tr> </table></html>
查看完整描述

4 回答

?
小草1434

TA贡献106条经验 获得超23个赞

首先我要指正一个css的错误

<style type="css/text">
a{display:inline-block;
color:white;
marign:0px 10px //此处的marign是错误的,应该是margin
}
</style>

另外,要让超链接a标签具有动画效果可以使用css3的语法,js的动态改变style,或者是css的hover等事件动态变化样式

查看完整回答
1 反对 回复 2018-11-04
?
corner_sun

TA贡献4条经验 获得超0个赞

不要写 type="css/text"这是link引用css时写的

查看完整回答
反对 回复 2018-11-04
?
car

TA贡献184条经验 获得超33个赞

除去样式再看看

查看完整回答
反对 回复 2018-11-04
?
这人是胖子

TA贡献2条经验 获得超0个赞

a标签默认有颜色和下划线,除非你样式给他覆盖了,如果没有你想要的结果,可以审查元素看看。

查看完整回答
反对 回复 2018-11-04
  • 4 回答
  • 0 关注
  • 1648 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信