开发者

Having problems changing the font in a table row

开发者 https://www.devze.com 2022-12-08 13:33 出处:网络
This doesnt work: $display_table .= \"<td width=\'377\' height=\'15\' class=\'ad_headline_font\'>$row[headline]</td>\";

This doesnt work:

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

It shows the 'headline' From a mysql field but in standard text... why cant i format the text?

And the table doesnt have a class appointed to it... and style= d开发者_开发问答oesnt work either...

Thanks

the css style:

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


I think the problem is the fonts you've chosen. I don't think those will render in your browser.

I'd recommend you use standard fonts.

0

精彩评论

暂无评论...
验证码 换一张
取 消