Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/79.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
Html 如何将CSS样式应用于ASCII字符_Html_Css - Fatal编程技术网

Html 如何将CSS样式应用于ASCII字符

Html 如何将CSS样式应用于ASCII字符,html,css,Html,Css,我想减少我的ascii度字符°在我的html文档中。有人知道怎么做吗 HTML: 试着这样做: CSS: HTML: HTML: 89°; 在一个特定元素或整个文档中,只有ascii元素我不能让它与标记内部的跨度一起工作,对此有什么想法吗?你能发布你正在使用的html和css代码吗。。这样我就可以试试了?72°;F它可以很好地处理您发布的html代码。你可以检查我的编辑 <html> <body> <table> &l

我想减少我的ascii度字符
°在我的html文档中。有人知道怎么做吗

HTML:

试着这样做:

CSS:

HTML:

HTML:

89°;

在一个特定元素或整个文档中,只有ascii元素我不能让它与标记内部的跨度一起工作,对此有什么想法吗?你能发布你正在使用的html和css代码吗。。这样我就可以试试了?
72°;F它可以很好地处理您发布的html代码。你可以检查我的编辑
<html>
<body>
    <table>
        <tr>
            <td>
            <div style="position:absolute; top: 70; right: 0;">
                    72
                    <span>&deg;</span>
                    F
            </div>
            </td>
        </tr>
    </table>
</body>
</html>
body {
    height: 100%;
    font-weight: 400;
    color: white;
    background-color: #000000;
    overflow: hidden;
}

div{
font-size: 80px;
margin: 2px;
padding: 2px;
}

@font-face {
    font-family: aFont;
    src: url(ostrich-rounded-webfont.ttf);
}

.fontclass{
    font-family: aFont, Helvetica;
    color: #FFFFFF;
 }

a:link {
text-decoration: none;
}

a:visited {
text-decoration: none;
}

a:hover {
 text-decoration: none;
}

a:active {
 text-decoration: none;
}

div span{
    font-weight:1;
    font-size:1px;
}
p {
    font-weight:bold;
}
p span {
    font-weight:100;
    font-size:11px;
}
<p>Test test Test test Test test  <span> &deg;</span> Test test Test test Test test Test test </p>
p, div{
    font-weight:bold;
}
p span, div span {
    font-weight:100;
    font-size:11px;
}
<div stile="position:absolute; top:70; right:0;"> 89 <span> &deg;</span> </div>