Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - table bordercolor | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||||||||||||||||||||
Dylan Devil Trumpets and Angel Trombones ~ Level: 54 Posts: 167/1407 EXP: 1181697 For next: 52173 Since: 06-19-04 From: Ottawa, Canada. Since last post: 1 day Last activity: 6 hours |
| ||||||||||||||||||||
Is the tag to add color the main section of border on an html table <
Quote this text to see the table code. I wanted the bordercolor to be white. It isn't. However the bordercolor light and dark have recognized the input. (edited by Gb boy on 07-09-04 03:39 PM) |
|||||||||||||||||||||
Dish Spiny Level: 38 Posts: 100/596 EXP: 355646 For next: 14801 Since: 03-15-04 From: Disch Since last post: 18 days Last activity: 18 days |
| ||||||||||||||||||||
edit: well... it appears that neither bordercolor, bordercolorlight, nor bordercolordark are valid attributes. I'll look into it more. Final edit: This page lays out the differences between bordercolor / bordercolorlight / bordercolordark http://www.faqs.org/docs/htmltut/tables/_TABLE_BORDERCOLOR.html bordercolorlight and bordercolordark are IE specific bordercolor works in IE, Firefox, and possibly Opera (although I didn't test) but none of them are REAL attribute tags... so in short... you shouldn't use them. As described by the W3C standard: http://www.w3.org/TR/html4/struct/tables.html#h-11.2.1 So yeah... don't use any of them. If you want your table border to look a certain way, you could put 2 extra rows and columns and give them BG colors or an image. That way it'll be proper and look the same in every browser. (edited by Disch on 07-09-04 06:53 PM) (edited by Disch on 07-09-04 06:54 PM) (edited by Disch on 07-09-04 06:56 PM) (edited by Disch on 07-09-04 07:19 PM) |
|||||||||||||||||||||
Dylan Devil Trumpets and Angel Trombones ~ Level: 54 Posts: 168/1407 EXP: 1181697 For next: 52173 Since: 06-19-04 From: Ottawa, Canada. Since last post: 1 day Last activity: 6 hours |
| ||||||||||||||||||||
Originally posted by Disch Can you provide a quick example table? I understand what you mean, I just need to know where I would place in the tags in order for that to show up. (edited by Gb boy on 07-09-04 11:14 PM) (edited by Gb boy on 07-09-04 11:16 PM) |
|||||||||||||||||||||
Dish Spiny Level: 38 Posts: 101/596 EXP: 355646 For next: 14801 Since: 03-15-04 From: Disch Since last post: 18 days Last activity: 18 days |
| ||||||||||||||||||||
#00FF00 is the "light" bordercolor #0000FF is the "dark" bordercolor For tables with more than 1 column... you'll have to increase the colspan attribute so that it stretches across the whole table. And cellspacing and cellpadding have to be set to zero or you get weirdness. Yeah, this method is a big pain in the ass... probably because tables weren't really meant for this kind of thing. The site I used for reference said that the td width,height and bgcolor tags are deprecated and that you should use style sheets to perform this function instead... but I don't know enough about CSS to be of any help there. |
|||||||||||||||||||||
FreeDOS Lava Lotus Wannabe-Mod :< Level: 59 Posts: 565/1657 EXP: 1648646 For next: 24482 Since: 03-15-04 From: Seattle Since last post: 6 hours Last activity: 4 hours |
| ||||||||||||||||||||
I personally prefer CSS... (edited by FreeDOS on 07-10-04 04:24 AM) (edited by FreeDOS on 07-10-04 04:25 AM) |
|||||||||||||||||||||
Dylan Devil Trumpets and Angel Trombones ~ Level: 54 Posts: 169/1407 EXP: 1181697 For next: 52173 Since: 06-19-04 From: Ottawa, Canada. Since last post: 1 day Last activity: 6 hours |
| ||||||||||||||||||||
I think I will just go and learn CSS. It's probably more useful anyway, HTML are fairly limited in comparison. UPDATE:
This works, with the extra columns and rows, but there are little spaces in the corners there. How do I fill those in? Also what if I want borders everywhere but on the exterior? (edited by Gb boy on 07-13-04 01:04 PM) |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - table bordercolor | | | |