Headings allow inline elements, but will auto close when they encounter a nested block element (like a P tag).
chris On Sat, Nov 13, 2010 at 7:29 AM, Thomy Berlin <jbscoutber...@gmail.com>wrote: > Hi ! > > Beside that fact about the doctype the others already said here, I will > suggest that you read a liitle bit more about the specs about valid HTML - > your example snippels are complete invalide. a h-tag is not a "container" > for other elements - even if most browsers will show it like the way you > like :) ( how long will they ? ) > > so far & best regards > Thomy > > 2010/11/12 applina <appl...@gmail.com> > >> the first: http://www.odysseydisinfestazioni.it/ (that work) >> the last:http://www.ideasworkshop.it/web/ (that don't work) >> >> the first html code: >> <div class="container"> >> <h1 class="header" title="blah"><a href="http:// >> www.odysseydisinfestazioni.it/"><span class="hide">ODYSSEY >> disinfestazioni</span></a> </h1> >> .... >> </div> >> >> the second html code: >> <div id="container"> >> <h1 class="header"><a href="http://www.ideasworkshop.it/web/"><span >> class="hide">iDeas Workhop</span></a> </h1> >> .... >> </div> >> [...] >> >> > -- > You received this message because you are subscribed to the Google Groups > "Blueprint CSS" group. > To post to this group, send email to blueprint...@googlegroups.com. > To unsubscribe from this group, send email to > blueprintcss+unsubscr...@googlegroups.com<blueprintcss%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/blueprintcss?hl=en. > -- You received this message because you are subscribed to the Google Groups "Blueprint CSS" group. To post to this group, send email to blueprint...@googlegroups.com. To unsubscribe from this group, send email to blueprintcss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/blueprintcss?hl=en.