Thanks, Christophe.  I actually did consider that, but after looking
at the W3C site, that particular configuration looked valid (p
elements can contain list elements).  Turns out I was looking at the
XHTML2 spec.  Sorry about that.

http://www.w3.org/TR/2003/WD-xhtml2-20030506/mod-block-text.html#s_block-textmodule

On 7/12/07, Christophe Porteneuve <[EMAIL PROTECTED]> wrote:
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to