Hi All,
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?
That second < is actually:
<'
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
should be correct
It works, but doesn't validate as XHTML Strict because of the < before ?php.
How can I escape that ? ?
It should validate because it will parse the php so
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
becomes
<link rel="stylesheet" href="http://foo.com/wordpress/wp-content/themes/mytheme/style.css" type="text/css" media="screen" />