PHP
·
发表于 5年以前
·
阅读量:8398
<head>
<meta charset="utf-8">
<title>常用文本样式</title>
<style type="text/css">
div{
font-size: 30px;
font-family: 'Microsoft Yahei';
font-style: italic;
text-indent: 60px;
}
em{
font-style: normal;
color: gold;
}
span{
font-weight: bold;
line-height: 80px;
text-decoration: underline;
}
a{
text-decoration: none; /*去掉a链接的下划线*/
text-align: center; /*没效果,a标签的宽带只有文字宽带*/
}
p{
text-align: center;
}
</style>
</head>