> Can you be more specific in your question. For what reasons do you ask > the why question?
I'm pretty sure the question is "Why does only IE6 see that rule?" Benct Philip Jonsson wrote: > On 2009-10-04 David Laakso wrote: >> * html .infobox {height: 100px;} /* Only IE/6.0 sees this >> */ > > Why? > > /BP As a css newbie, I take it that you've never encountered CSS hacks before. Essentially, these are rules that take advantage of bugs in particular browsers to target a specific version. Using them tends to be risky, but there are a couple of hacks (especially for IE) that are old, well tested, and (relatively) safe. * html is one such hack for IE6. It works (as I understand it) because in IE6, there is a wrapper tag of some sort that goes around the entire HTML document. Usually (and correctly) the html tag is the document root. But in IE6, it's not. The html tag has a parent. So by saying * html, it selects any html tag that has a parent. ---Tim ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/