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

Recommended Answers

All 2 Replies

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

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>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.