<div id="maincontent">
<div id="content">
<div id="admin"></div>
</div>
</div>
Is it possible to have a rule that would match #maincontent only if #admin exists using just CSS?
It's just I have a background colour in the control panel but don't want it there for visitors.