要关闭的css文本在wordpress中难以阅读
[![在此处输入图像描述][1][1] 正如您所能看到的,文本将关闭am要关闭的css文本在wordpress中难以阅读,css,Css,[![在此处输入图像描述][1][1] 正如您所能看到的,文本将关闭am #main { text-align: left; margin-bottom: 10px; display: inline-block; width: 1280px; padding: 10px; margin: auto; margin-top: 10px; text-align: justify; font-family: Century Got
#main {
text-align: left;
margin-bottom: 10px;
display: inline-block;
width: 1280px;
padding: 10px;
margin: auto;
margin-top: 10px;
text-align: justify;
font-family: Century Gothic,sans-serif;
}
使用css属性
行高:14px代码>设置文本之间的行高度
p {
line-height: 25px;
}
添加行高
例如:
在像素数量上进行调整。我认为您需要css属性行高。
在该文本的css容器中添加此行:
line-height: 24px;
更改该值并查看结果。这是因为您使用的字体系列
尝试将此添加到css样式中:
letter-spacing: 2px; //spaces between letters
line-height: 15px; //spaces for each line of words
根据您的喜好进行调整。添加线条高度
#main {
font-size: 16px;
line-height: 24px;
text-align: left;
margin-bottom: 10px;
display: inline-block;
width: 1280px;
padding: 10px;
margin: auto;
margin-top: 10px;
text-align: justify;
font-family: Century Gothic,sans-serif;
}
@wazza在您的案例中设置p
tag,就像我做的那样,将解决问题,所以这里的每个人都可能有相同的答案哈哈