Hello, I am trying to make my website valid HTML 4.01. Use of BORDERCOLOR in tables is apparently not valid HTML; one has to use CSS. How do I do this, and do real world browsers support this?
I know IE and Netscape support these, and I would be shocked if Opera didn't.
<td style="border-color:blue;">
You can add this to each cell you want a border around (as well as to the table itself--not the tr), or you can make a class.
<style>
.tdborder{
border:blue;
}
</style>
and then in every td or table you want to have a border around, you can add class="tdborder". Another way is like this:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.