instead of just using a smarter selector, which caused the incorrectly
styled portlet to visibly flash sometimes.
This was only useful for IE 6 (even IE 7 supports the sibling selector
anymore. It would be neater to use ':first-of-type', but that's not as
(cherry picked from commit 16e16eb0751aa42efd3a076b66c0761b23b266fd)