On 1/26/07, mindcharger <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm having a problem with the HTML "anchor" tag (<a>).
>
> It seems that everytime I 'echo' something to the screen I get a
> "nasty" <a>...</a> tag pair enclosing whatever I'm doing. I'm using
> Cake's CSS with a thing or two added, and the problem is that the
> <a></a> pair shadows other style classes I use.
>
> The clear out what I say, here's the code I have on the VIEW:
>
> if (! isset($results))
>         {
>                 echo '<br><p class = "warning_msg"> There no hierarchies on 
> this
> network! </p>';
>         }
>         else
>         ...
>
> And this is the generated HTML:
>
> <p class="warning_msg">
>     <a name="top"> There no hierarchies on this network! </a>
> </p>
>
> This shouldn't be a big deal, but I'm actually displaying a "warning
> message" and I'd like it to be in red, but with this sumperimposing of
> <a> tag, all I get is "CAKE's green" which is not your typical
> "warning" color...
>
> Can someone explain why this happen or if there's something I'm doing
> wrong?
>
> Thanks in advance!
>
>
> >
>

Do you have a URL where we could look at the HTML output? I'm curious
to see it...
Also, what view file is that warning message in? Can you paste the
contents of the file here...

-- 
Lance Willett
simpledream web studio
http://simpledream.net

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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