14
You have another solution, but borders will be displayed for all tables used by smartsection module (it means you will have to correct some templates).
1. Modify theme.htmlReplace :
Quote:
... by :
Quote:
class="<{$xoops_dirname}>">
<{$xoops_contents}>
2. Modify style.cssReplace :
Quote:
/* smartsection tables */
table.i-want-a-black-border tr td {
border: 1px solid #888 !important;
padding: 10px;
}
... by :
Quote:
#xo-content .smartsection table tr td {
border: 1px solid #888 !important;
padding: 10px;
}
3. Modify your inputDelete class="i-want-a-black-border", not used anymore.
... tell me if it works and if you have trouble with templates
Edit : smartsection template (smartsection_item.html) encapsulates articles content in a div
Quote:
Try to replace by :
Quote:
And in style.css replace :
Quote:
#xo-content .smartsection table tr td {
border: 1px solid #888 !important;
padding: 10px;
}
... by :
Quote:
#xo-content .smartsection .plus-border-for-my-tables table tr td {
border: 1px solid #888 !important;
padding: 10px;
}
If it works, it should not impact other smartsections tables...
Edit bis : write table and not .table as I wrote before. Code corrected.
Still learning CSS and... english