On Tue, 03 Jul 2007 14:48:27 +0200, Ben Boyle <benjamins.boyle@gmail.com> wrote: >> The <tbody> element is inferred by the HTML parser if the tags are >> absent. > > Hmm. Parsing is not my strong suit, forgive any misunderstandings ... > > I just did a test here, a simple HTML doc with a table and no <tbody> > elements. > Then I applied some styles: > tr > td { > border: 1px solid blue; > } > > tr > tbody > td { > border: 1px solid red; > } > > The borders are blue (Firefox 2). There is no "implied tbody" (as I > understand it, as an author!) I also tested <di> and it did nothing... > couldn't access it for styling. No surprise, it's not in any current > spec. Are you sure you understand where the <tbody> element is implied? Namely, between <table> and <tr>... -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>Received on Tuesday, 3 July 2007 12:54:29 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 July 2008 08:10:09 GMT