Escaping the “<?php” on my stylesheet in XHTML
My stylesheet won’t validate and work at the same time.
I can’t figure out how to escape it correctly.
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
I’ve been trading <? for < and it validates (as XHTML Strict) and seems to work. Is there a better way?
- The topic ‘Escaping the “<?php” on my stylesheet in XHTML’ is closed to new replies.