I am facing an issue with the display of a calendar extender within an ASP table. Despite attaching the extender to a text box in one of the rows, the padding appears too big when the extender is opened.
Upon investigating the CSS styles applied, it seems that the excessive padding is inherited from the table itself.
Below is the CSS code for the table:
.accountorderstbl {font-family:"Lucida Sans Unicode", "Lucida Grande", Sans-Serif;font-size:12px;width:100%;text-align:center;border-collapse:collapse;}
.accountorderstbl th{width:20%;font-size:13px;font-weight:normal;border-bottom:1px solid #fff;color:#039;padding:8px;background:url("Images/pattern-head.png");}
.accountorderstbl tfoot td{width:20%;font-size:13px;font-weight:normal;border-bottom:1px solid #fff;color:#039;padding:4px;background:url("Images/pattern-head.png");}
.accountorderstbl tr.unselected td{width:20%;border-bottom:1px solid #fff;color:#669;border-top:1px solid transparent;padding:8px;background:url("Images/pattern_blue.png");}
.accountorderstbl tr.selected td{width:20%;border-bottom:1px solid #fff;color:#669;border-top:1px solid transparent;padding:8px;background:#E3E3F1;}
.accountorderstbl tbody tr.unselected:hover td{color:#339;background:#fff;}
.accountorderstbl tbody tr.selected:hover td{}
.accountorderstbl a{ text-decoration: none;color:#669;font-weight:bold;}
In an attempt to resolve this, I added the following line of CSS:
.ajax__calendar_container td { padding:0; margin:0;}
However, upon inspection, it appears that this CSS rule is being overridden by .accountorderstbl tr.unselected td, which sets the padding to 8px.
Any suggestions on how to address this problem?