1,105,225 Community Members

outline on tr element not working in chrome, safari

Member Avatar
mark1138
Newbie Poster
2 posts since Mar 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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

Member Avatar
Philippe.Lahaie
Posting Whiz
376 posts since Oct 2007
Reputation Points: 42 [?]
Q&As Helped to Solve: 60 [?]
Skill Endorsements: 9 [?]
 
0
 

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

Member Avatar
mark1138
Newbie Poster
2 posts since Mar 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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 three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article