We have simple webpage in HTML, as of a few days ago the borders around our tables just disappeared. They were working fine for years, does anyone have any insight on to why they now just show nothing? Our content is in 2 columns with a table, should be green on the left, orange on the right. Tested on chrome and edge.

Used the html <table bordercolor=>

Any help would be appreciated.
Tables green and orange

slang75's user avatar

1

Short answer: Stop using bordercolor. There is no such attribute by that name at this time.


It looks like that attribute is ancient, not really part of a standard, and obsolete. I haven't stumbled across more helpful "official" resources at this time, but just looking at an article here tells the story. Especially the section about the supported browsers:

Browser support shows Internet Explorer and Netscape

Those browsers have, in one way or another, "evolved" into Edge and Mozilla, etc. But the browsers themselves (and, if I'm being honest, the styles being rendered) are, for lack of a better term, dead.

It's time to start updating your code. For example:

table { border: 1px solid green; } <table> <tr> <td>test</td> </tr> </table>

David's user avatar

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.