Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/39.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
要关闭的css文本在wordpress中难以阅读_Css - Fatal编程技术网

要关闭的css文本在wordpress中难以阅读

要关闭的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

[![在此处输入图像描述][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 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,就像我做的那样,将解决问题,所以这里的每个人都可能有相同的答案哈哈