Page 1 of 1

Fix: CSS Styles for Tables and Rows Override Each Other Issue

Posted: 13 Dec 2024, 11:35
by Krishna Priya
Hello everyone, I am stuck with my website development on a specific problem. My page has three tables, and one table is different from the others.
The problem is adding CSS style to the tables. CSS styles, I add for one table override with other tables. I want table borders for two tables but no table border for the third table.


Example of my style.

Code: Select all


<div class="ebody">

         table 1
  
  
        table 2
  
       <div class="tbody">
                                       table 3
    
        </div>

</div>

How can I tell the CSS that, it should not use general table styles for table 3?

Global CSS Styles for Table Override local style

Posted: 14 Dec 2024, 10:30
by Alex George
Can you share your code, Krishna Priya? I will help after checking out the current code.