问题描述
我想在一个块内有两种不同的字体大小。我怎样才能使“猎鹰家族”大小为 20pt,而“猎鹰家族来自……”大小为 15pt 并且仍然是一个表格数据。
<html>
<head>
<table border= "20" borderColor = "#71a14d" bgcolor= "#d1e83f">
<td colspan="7" style="font-size:20pt"> The Falcon Family</br>
The Falcon fam is from Russia they are nomads traveling through out the world.</td>
</table>
</body>
</html>
解决方法
只需将第二部分包裹在一个跨度中并添加样式
{{1}}
我认为你可以这样做。
<html>
<body>
<table border= "20" borderColor = "#71a14d" bgcolor= "#d1e83f">
<td colspan="7" style="font-size:20pt"> The Falcon Family
<div style="font-size: 15pt;">The Falcon fam is from Russia they are nomads traveling through out the world.</div></td>
</table>
</body>
</html>