我有以下html片段在我的页面上正常工作:
title goes here
使用以下css
h3
{
font-family:verdana, arial, helvetica, sans-serif;
font-size:75%;
font-weight:bold;
font-style:normal;
text-decoration:none;
text-transform:none;
margin:0px;
padding:0px;
color:#2C6598;
}
但是,这不是有效的xhtml,因为< h3>标签不应该在< a>范围内.标签.
当我移动< h3> < a>之外的标签标签,css似乎不起作用,即由于某种原因它失去了它的风格.
例如:
title goes here
有:
h3
{
font-family:verdana, arial, helvetica, sans-serif;
font-size:75%;
font-weight:bold;
font-style:normal;
text-decoration:none;
text-transform:none;
margin:0px;
padding:0px;
color:#2C6598;
}
不像它使用< h3>那样工作< a>内的标记标签.
如何纠正?
最后
以上就是自觉香水最近收集整理的关于html+h3+样式修改,html – h3和锚标签样式问题的全部内容,更多相关html+h3+样式修改,html内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复