Hi, sorry i forgot to mention you need the following statement in you main template file, the one which you output doctypes etc, put this in index.phtml:
<?php echo $this->headStyle() ?> 2008/11/18 Ace Paul <[EMAIL PROTECTED]> > > Thank you very much for the reply Dan. For some reason using that method I > am > unable to get the style to print to the browser. > > I have used a quick fix like this, but if possible would like to do it the > way that you have said, so that I am doing everything the correct Zend way. > This is what I have now in the index.phtml layout page, which also calls > the > header.phtml page. > <style type="text/css"> > <!-- > <?php echo $this->escape($this->navActive); ?> { > background: url(/images/menu-tab-bg.jpg) bottom left repeat-x; > color: #5b5e56; > display: block; > padding: 0px 8px; > } > --> > </style> > > I tried this > > <?php $this->headStyle()->captureStart() ?> > <?php echo $this->view->navActive ?> { > background: url(/images/menu-tab-bg.jpg) bottom left repeat-x; > color: #5b5e56; > display: block; > padding: 0px 8px; > } > <?php $this->headStyle()->captureEnd() ?> > > but nothing was output at all. Is there something there that I missed. > Thanks for all help. It is greatly appreciated. > -- > View this message in context: > http://www.nabble.com/setting-style-class-of-an-element-in-navigation-tp20541245p20570914.html > Sent from the Zend Framework mailing list archive at Nabble.com. > > -- Thank You Daniel Latter