Hey Jay, I remember having some confusion about the span tag at some point. the html specs do significantly limit the types of tags that can be used inside it and browsers will do unexpected things if you try. definitely look at the w3c site to get some more specifics.
On Wed, Oct 29, 2008 at 12:04 PM, Jay <[EMAIL PROTECTED]> wrote: > > On Oct 29, 10:46 am, "John Resig" <[EMAIL PROTECTED]> wrote: > > I'm fairly certain that's incorrect syntax (putting a div inside a > > span - especially one that's self-closing). The browser will > > automatically force the div outside the span. > > Why does it work as I expected if the tag is not self closing? If it's > forced outside the behaviour should be identical in either case. > > I'll go read up on what the span tag is supposed to do. It seems valid > to me that > if I wanted to apply format attributes to a bunch of elements I could > surround it > with a span. > > I'm really begginning to think I should go back to assembler > programming. It was simpler. > > -- Christopher Thatcher