CSS
을 PHP
을 사용하여 동적으로 만들려고합니다.내용에 공백이있는 경우 작은 따옴표 나 큰 따옴표를 추가하는 방법
예 style.php 나는 Lucida Sans Unicode
에 작은 따옴표 또는 큰 따옴표를 추가하려면 여기
body { font-family:<?php echo $two; ?>; }
에 font-family
$one = 'Times New Roman, Times, serif';
$two = 'Lucida Sans Unicode, Lucida Grande, sans-serif';
, Lucida Grande
에 따라서 OUPUT이 있어야한다
body { font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif; }
는 나에게 견적 글꼴을 교체하는 방법을 알려주세요
문자열의 모든 요소를 인용 할 수 있습니다. – SilentGhost