Is it possible to create a not selector in a stylesheet to prevent styling anything inside a div with the class myDiv
?
In my specific scenario, I am referring to tables, th, tr, and td elements within that div.
table:not([class='myDiv'])
thead tr:not([class='myDiv'])
tr:not([class='myDiv'])
td:not([class='myDiv'])
Is there a way to style elements outside of the div without affecting those within the div with the specified class?
Edit: My previous inquiries may shed some light on what I am attempting to accomplish. Essentially, I would like to modify an external stylesheet that is utilized across the website so that it continues to function as usual for other sections but excludes the styling of my calendar tables.