0

The page contains a table and footer. Although I use a separate font size in the #footer 6px, it's still adapting the font size of the table 13px bold. How can this be fixed?

The footer is in a separate div not inside the table.

<table width="400" border="0" style="margin: auto;"></table>
<div id="footer">Copyright 2013</div>

CSS

table { margin: auto; 
    font:bold 13px Helvetica, Arial, sans-serif;}


#footer {
clear: both;
font-family: Helvetica, Arial, sans-serif;
font-size: 6pt;
text-align: left;
}
4

1 回答 1

0

你试过尺寸:6px吗?我的 CSS 技能已经下降,因为我已经很久没有使用它们了,而是在玩弄它。也一定要说 6px 而不是 6pt。

此外,您可以尝试将任何所需的文本(版权内容)放入段落标签中。这样,您可以进一步指定您要定位的标签,即 #footer p {size: 6px;}

在问题的原始帖子中,您有字体大小:6pt,请尝试将其更改为 6px。这有帮助吗?

于 2013-10-11T19:23:28.223 回答