Problems with CSS specificity causing issues elsewhere on page.
-
Wondering why tables on one of my pages were behaving oddly, CSS wise, I discovered that there would appear to be errors in the CSS Easy2Map is placing on the page.
Examples:
#easy2map_canvas_7 table,td {
margin: -1.5em 0 !important;
padding: 0px !important;
}#tblEasy2MapPinList td, tr{border-width:0px;}
#tblEasy2MapPinList1 td, tr{border-width:0px;}
The ‘,td’ and ‘, tr’ is making that CSS apply to all <tr> and <td> on the page and that isn’t what was meant at all. I’m guessing it should probably be e.g. #easy2map_canvas_7 table,#easy2map_canvas_7 td. There are several instances of the problem.
Graham
- The topic ‘Problems with CSS specificity causing issues elsewhere on page.’ is closed to new replies.