Announcement

Collapse
No announcement yet.

Coloring Table Cell outline

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Coloring Table Cell outline

    I would like to be able to control the color of the out side border of a table and the inside cell. I know how to color the background.

  • #2
    Hi there conquer,

    does this help...
    Code:
    
    <!DOCTYPE html>
    <html lang="en">
    <head>
    
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1">
    
    <title>untitled document</title>
    
    <style media="screen">
    table {
        border:0.1em solid #f00;
     }
    td {
        border:0.1em solid #00f;
     }
    </style>
    
    </head>
    <body> 
    
    <table><tr>
     <td>data cell</td>
    </tr></table>
    
    </body>
    </html>


    ~ the original bald headed old fart ~

    Comment


    • #3
      Yes it does. I had figured out the border in the mean time, but still could not get the cell it self. Thank's a bunch

      Comment

      Working...
      X