Your one and only caveat is IE7: if there are HTML comments between the divs,
then the adjacent sibling selector doesn't work.
In the one case where our CMS was kicking out comments, I reverted to the
non-adjacent selector:
>> .wrap div ~ div ~ div {margin-right:0;}
Mind you, if you're dealing with a CMS where you have a variable amount of divs
(between 2 and 4)....a no-CSS3, no-JS approach becomes massively more difficult
and requires exponentially more whisky (for me, at least).
</email>
<signature id="paceaux" name="Frank M. Taylor" twitter="@paceaux" />
On Jun 12, 2013, at 3:13 PM, Tom Livingston wrote:
> I like it. That idea never occurred to me, sadly.
______________________________________________________________________
css-discuss [[email protected]]
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/