Hello
I’m having a problem with headStyle method; every time I try to prepend a style ( or append a style for that matter ) it will comment out my style sheet directory. Here is an example.
$view->headStyle()->prependStyle(‘public/styles/main.css’)
Output:
<style type="text/css" media="screen">
<!--
public/styles/main.css
-->
</style>
Can anyone explain to me why this behavior is occurring?
Thank you for your time.
没有评论:
发表评论