Sorry..
just seen the fact you used #header.

very strange. Have you used the developer tools in firefox?

On Apr 15, 8:22 pm, simonb <[EMAIL PROTECTED]> wrote:
> Are you sure that you have used the correct selector
>
> for an id it should be
> #header{
>  color: #000;
>
> }
>
> if you have used
> .header{
>  color: #000}
>
> this declares a class style.
>
> Just a thought!!
>
> On Apr 15, 7:30 pm, Chez17 <[EMAIL PROTECTED]> wrote:> I am a CakePHP 
> beginner and I am having some wierd issues with getting
> > a CSS file working. I am linking to the file by using the html helper
>
> > <?php echo $html->css('site'); ?>
>
> > now heres whats weird. I know its linking because it is getting the
> > background and font colors I specified but it doesn't get most other
> > things. For example I am trying to define a simple header:
>
> > #header
> > {
> > ...
>
> > }
>
> > and in my default.thtml I use this
>
> > <div id="header">My Store</div>
>
> > And it doesn't register at all. None of my css declarations are
> > getting rendered at all. Any ideas on why it would not work? I have
> > tried different names just in case 'header' was reserved for something
> > and those didn't work either.
>
> > Thanks,
> > Dave

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to