Different cell border color overriding

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • domazone
    New Member
    • Jan 2014
    • 2

    Different cell border color overriding

    Hello,
    Please help, i am in a deadend.
    I created a table with two rows and columns with different border color for each cell. The problem is that different cell borders overrides each one and only one is left as a result. Code example:

    Code:
    <table width="742">
    <tbody>
    <tr>
    <td style="border: 10px solid blue;" height="300">
    <h4 align="center">A</h4>
    </td>
    <td style="border: 10px solid crimson;" width="25%">
    <h4 align="center">B</h4>
    </td>
    </tr>
    <tr>
    <td style="border: 10px solid limegreen;" width="45%" height="300">
    <h4 align="center">C</h4>
    </td>
    <td style="border: 10px solid gold;" width="45%">
    <h4 align="center">D</h4>
    </td>
    </tr>
    </tbody>
    </table>
    Last edited by Rabbit; Jan 28 '14, 04:31 PM. Reason: Please use [CODE] and [/CODE] tags when posting code or formatted data.
  • sudhakar1
    New Member
    • Jan 2014
    • 15

    #2
    Hi domazone,
    I am checked your coding its create a correct table format and its show the good results ...

    Comment

    • domazone
      New Member
      • Jan 2014
      • 2

      #3
      The table is created - width and height are fine.
      The problem is with overriding border colors.
      I am using wordpress - example below:

      Comment

      Working...