View Full Version : css borders on <tr> tags
11-07-2002, 03:29 PM
Hi I am trying to put a border on a <tr> tag as follows
border:1px solid #417067;
The border won't appear is this incorrect??
11-07-2002, 04:13 PM
Works for me...
<tr style="border:1px solid #417067;">
11-07-2002, 06:43 PM
I copied this code example into a HTML document and ran it under both IE 6.0 and Mozilla; neither displays a border on that row ...
Not sure what browser you're using that it works with ... but I have to back-up what the original poster said ... it's not functioning.
11-07-2002, 07:09 PM
Dhtroy, I was using IE 5.1 on Mac. But actually, I've previewed that code in Moz and Opera now and no border was showing. So.. I think I have found a bug :)
You have to set the borders on the cells, kathryn. A lot more code...
11-08-2002, 04:12 PM
Just thought I'd mention this:
For giggles, I checked out the Platform SDK on the TR tag, to find that IE does not support a Style or Attribute of type Border for that object.
That would probably explain why it's not working ...
Regardless of that, sounds like you have found a reasonable solution ...
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.