I was reading chapter 15 and while going through the Try It Out where we moved the GridView Styles to a theme and used a CSS class for the styling I started thinking about one certain bit of CSS. I understand what the CSS is doing, but I am more interested in the reason for the placement of the rules.
.GridViewHeaderStyle th, .GridViewPagerStyle
background-position: 0 5px;
To me it seems like the background-repeat and background-position declarations should be placed under the following selector:
because they both deal with those particular th elements. I understand that this is not a book on CSS, but I just was wondering if there is something that I am missing or if the decision was arbitrary, because it seems that it works either way - at least testing moving the properties worked on IE 8 and Firefox 3.6.8.