【问题标题】:Having problems changing the font in a table row更改表格行中的字体时遇到问题
【发布时间】:2009-10-17 04:56:09
【问题描述】:

这不起作用:

$display_table .= "<td width='377' height='15' class='ad_headline_font'>$row[headline]</td>";

它显示了来自 mysql 字段的“标题”,但在标准文本中......为什么我不能格式化文本?

并且该表没有指定的类...并且 style= 也不起作用...

谢谢

css 样式:

.ad_headline_font {
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
font-size: 14px;
font-weight: bold;
color: #0C9;
  }

【问题讨论】:

  • 您用来设置表格行样式的 CSS 规则是什么?

标签: php html css


【解决方案1】:

我认为问题在于您选择的字体。我认为这些不会在您的浏览器中呈现。

我建议你使用标准字体。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-11-01
    • 1970-01-01
    • 2019-12-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-04-17
    相关资源
    最近更新 更多