I am facing an issue with my Drupal site where the CSS for a Google Org Chart is being overridden by some existing styles. Below is the code snippet in question.
The CSS I need to eliminate:
.MainBlock table td {
border-right: 1px solid #045273;
border-bottom: 1px solid #045273;
vertical-align: top;
}
I have attempted multiple solutions but none have been successful. The unsuccessful attempts are listed below.
<script type="text/javascript">
if (document.URL.indexOf("/node/7794/draft") >= 0) {
//$('.MainBlock').find("table tr").css("border-bottom","");
//$(".MainBlock table td").css("border-bottom":"12px Solid #000");
$(".MainBlock table td").css({ 'border-bottom' : ''});
}
I require a solution that will exclude this line of CSS as it is necessary on other pages. Setting it to zero or none causes issues with functionality.