.f1{
  font-size:24px;
}
.f2{
  font-size:22px;
}
调用<span class='f1'>a</span>
<span class='f2'>a</span>

解决方案 »

  1.   

    thead{
    font-size:18px}
    tbody{
    font-size:12px}<table>
      <thead>
        <tr>
          <td>标题</td>
        <tr>
      </thead>
      <tbody>
        <tr>
          <td>内容</td>
        </tr>
      </tbody>
    </table>
      

  2.   

    建议下一个用CSS做的网站看一下人家是怎么实现的,不要多,两个网站你就懂了CSS并不难,DW是很好的帮手.
      

  3.   

    要用标题就h1 h2 么,呵呵
    thead表头,tbody表正体,td单元格 th列首单元格 p段落 h1 h2标题1、2
    body,td,th
    {
        font-size:14px;
    }
    p
    {
       font-size:16px;
    }
    h1,h2
    {
        font-size:2em;
       font-family:黑体
    }