danthman Posted November 23, 2008 Share Posted November 23, 2008 Dear W3Schools,I've found your tutorials to be extremely useful. I do have one suggestion, however. The concept of Descendant & Child Selectors seems to be entirely missing from your CSS tutorial. I was relying on the CSS Syntax page as a comprehensive list of all the available ways to form selectors, but when I couldn't figure out how to style table cell (i.e., td) elements on an ASP.NET GridView, I began to wonder if some concepts were missing. I eventually tracked down the following two sections of the CSS2 Specification, which solved my problem:http://www.w3.org/TR/CSS2/selector.html#descendant-selectorshttp://www.w3.org/TR/CSS2/selector.html#child-selectorsIt would have saved a lot of hassle if these were discussed at least somewhere in the tutorial, even if it's a section under CSS Advanced.Thanks very much,-Dan Link to comment Share on other sites More sharing options...
Ingolme Posted November 23, 2008 Share Posted November 23, 2008 Child selectors don't work with Internet Explorer 6. But I don't see a reason why they woudn't put descendant selectors in the tutorial. Link to comment Share on other sites More sharing options...
danthman Posted November 23, 2008 Author Share Posted November 23, 2008 Thanks for the reply. Actually, it was really the descendant parameters I needed in this case. I'm not sure I can think of a scenario where I'd actually *need* a child selector (though it might save some trouble), but as far as I know, it was completely impossible to style the td's of an ASP.NET GridView without a descendant selector.In any case, I still would like to see as much information as possible in the tutorial (not necessarily in depth, but at least a mention with a link). Sometimes, it's as helpful to know what doesn't work as what does work. For example, I was trying to use the minimum/maximum width and height properties for a particular layout, but when I read in the tutorial that it doesn't work in IE, I found a different solution.-Dan Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.