How to change colour of table boundary in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How to change colour of table boundary in html

10th Apr 2020, 4:08 PM
Anmol
Anmol - avatar
3 Answers
+ 4
Use property of border- color
12th Apr 2020, 1:44 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
You can set border-color in css file to change the color of your table border(boundary)
10th Apr 2020, 5:06 PM
Ayush Kumar
Ayush Kumar - avatar
0
If you're talking about table borders (frame drawn around the table): <table style="border:{SIZE}px {TYPE} {COLOR}"> with {SIZE} a valid number followed by a valid css unit, {TYPE} a keyword (among 'solid', 'dashed', 'dotted' for the most used, and some others...), and a valid css {COLOR} value. order do not matter. you could also define one or many of this child properties of 'border' through specifics family: border-width, border-style, and border-color ;)
10th Apr 2020, 5:07 PM
visph
visph - avatar