Q:

does anybody know how to link to a stylesheet in layout.phtml - zend framework?

I'm setting up my master layout.phtml file , but i can't seem to link to an external css  i've tried the normal link href ect but does not work i'm following the beginner' guide to ZF in the manaul is has the following:
    <base href="/" />
    <link rel = "stylesheet" type="text/css" href ="/css/master.css" />

the manual also suggests putting these assets in the public folder which i have done. but does not work ?
I have also looked on the net and tried a some headlink and bootstrap stuff as a beginner it was a bit over my head !
Has anyone got a simple answer ??
many thanks

A:

I usually do as follows in layout.phtml:
<?php
$this->headLink()->appendStylesheet($this->baseUrl('/css/master.css'));
echo $this->headLink();
?>

