Thank you Nathan, that suddenly makes complete sense. Cheers.
On 6 Feb 2008, at 11:14, Nathan Weizenbaum wrote: > > You're Giving two things as the content for the second <li>: "Item" > and > the <ul>. If you want both to be nested beneath the <li>, you have to > indicate that explicitly: > > %ul > %li Item > %li > Item > %ul > %li Item > %li Item > > > - Nathan > > [EMAIL PROTECTED] wrote: >> Hi, >> >> I've just started using Haml and Sass and so far I've been finding >> them really great. >> >> However I am having trouble with trying to write out a simple nested >> list like this: >> >> <ul> >> <li>Item</li> >> <li>item >> <ul> >> <li>sub item</li> >> <li>sub item</li> >> </ul> >> </li> >> </ul> >> >> In haml: >> >> %ul >> %li Item >> %li Item >> %ul >> %li Item >> %li Item >> >> but it doesn't seem to work, am I doing something wrong? >> >> >> Many thanks. >> >>> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
