[thelist] Table bordercolors

rudy r937 at interlog.com
Mon Mar 12 23:20:38 CST 2001

> Is there a way to set the border color? I want the
> page to show the color in browsers at least back to 4.x.

hi mike

if you don't mind using tables, here's a nifty hack that will work in all
browsers that understand table background colours (html 2? netscape 4
definitely) but will only validate transitional, not strict, as i think
bgcolor is deprecated --

  <table bgcolor="#990000"
         border="0" cellpadding="0" cellspacing="0">
         border="0" cellpadding="9" cellspacing="1">
  <tr bgcolor="#FFFFCC"><th>foo</th></tr>
  <tr bgcolor="#CCFFFF"><td>bar</td></tr>


More information about the thelist mailing list