CSS
をPHP
を使用して動的にしようとしています。私は出力に含まがあるべき、Lucida Sans Unicode
にLucida Grande
コンテンツに空白がある場合は、一重引用符または二重引用符を追加するには
を単一引用符または二重引用符を追加したいstyle.php
ここbody { font-family:<?php echo $two; ?>; }
でfont-family
$one = 'Times New Roman, Times, serif';
$two = 'Lucida Sans Unicode, Lucida Grande, sans-serif';
上
例
body { font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif; }
は私が引用してフォントを置換する方法を知ってみましょう
文字列のすべての要素を引用できますか? – SilentGhost