We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,993 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

outline on tr element not working in chrome, safari

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

2
Contributors
2
Replies
1 Day
Discussion Span
1 Year Ago
Last Updated
3
Views
mark1138
Newbie Poster
2 posts since Mar 2012
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

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

Philippe.Lahaie
Posting Whiz
360 posts since Oct 2007
Reputation Points: 103
Solved Threads: 54
Skill Endorsements: 4

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>
mark1138
Newbie Poster
2 posts since Mar 2012
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0627 seconds using 2.67MB