Hey, Rob Wilkerson a écrit : > content is hidden. The nested elements are left visible. Is that > expected? If so, how can I hide everything? What am I missing?
That's because your markup is faulty. You can't nest <ol>'s into <p>, it's not valid HTML. So the browser actually puts the <ol> outside the <p> from a rendering perspective. Migrate your <p> to a <div> in this instance (and make the "You have two options:" bit its own <p> inside it), then toggle the <div>. That'll work. -- Christophe Porteneuve aka TDD [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
