+ 1

hey guys, i want to ask if there was a way to change the border-color of a table in html

html

4th Sep 2021, 7:32 PM
dmax gamer
dmax gamer - avatar
5 Antworten
+ 1
<TABLE BORDER=10 BORDERCOLOR=RED> But, this attribute is obsolete and should not be used. Browser support for this attribute is limited and using it may produce unexpected results. Instead of bordercolor, use CSS to style tables.
4th Sep 2021, 8:45 PM
Coding Cat
Coding Cat - avatar
+ 1
And for CSS you should have a look here: https://www.w3schools.com/css/css_border_color.asp
4th Sep 2021, 8:49 PM
Coding Cat
Coding Cat - avatar
+ 1
thanks so much
4th Sep 2021, 8:50 PM
dmax gamer
dmax gamer - avatar
+ 1
it worked
4th Sep 2021, 8:54 PM
dmax gamer
dmax gamer - avatar
0
the two options actually worked
4th Sep 2021, 8:54 PM
dmax gamer
dmax gamer - avatar