You're giving the <li> content twice: first by putting "Powered by:"
after the %li, and then again by nesting stuff within the %li. This
isn't allowed. What you're looking for is:
%ul#nav_powered_by
%li
Powered by:
%a{ :href => 'URL' }
%span The Suite
- Nathan
shaners o matic 8000 wrote:
> this:
>
> %ul#nav_powered_by
> %li Powered by:
> %a{ :href => 'URL' }
> %span The Suite
>
> gives me this:
>
> <ul id='nav_powered_by'>
> <li>Powered by:</li>
> <a href='URL/'>
> <span>The Suite</span>
> </a>
> </ul>
>
> why is the LI closing before the link?
>
> thanks
> shaners
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---