1.11M Members

outline on tr element not working in chrome, safari

 
0
 

This simple snippet of code doesn't outline the table row in red as I would like. Works in FF, not in Chrome or Safari. Known issue? Am I missing some magical incantation?

<html>
<head>
</head><body>
<table>
<tbody>
   <tr style="outline: red solid 1px">
      <td>This is some text</td>
      <td>next column</td>
   </tr>
</tbody>
</table>
</body></html>

Thanks!
Mark

 
0
 

try with border instead of outline, worked for me in chrome

 
0
 

try with border instead of outline, worked for me in chrome

Hmm... Neither border nor outline work for me in Chrome (on Mac) or Safari.

<html>
<head>
</head>
<body>
<table>
<tbody>
   <tr style="outline: red solid 1px">
      <td>This is some text</td>
      <td>next column</td>
   </tr>
   <tr style="border: red solid 1px">
      <td>This is some text</td>
      <td>next column</td>
   </tr>
</tbody>
</table>
</body></html>
You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article