CrazyKillerMan 0 Posted August 13, 2001 Possibly another for Phillip <table BGCOLOR="#000000" WIDTH="50%" BORDER=0 COLS="2"> in IE the table has a black background in netscape or mozilla its white.... does netscape not support this 'BGCOLOR' tag inside the <TABLE> tag??? I know its not widely supported and I know style sheets are now in play with html 4 Just curious Share this post Link to post
Xiven 0 Posted August 13, 2001 If you're too lazy to write a stylesheet then you can use inline styles: <table BGCOLOR="#000000" WIDTH="50%" BORDER=0 COLS="2" style="background-color:black"> should do the trick. Share this post Link to post
CrazyKillerMan 0 Posted August 13, 2001 ye thats what I ended up doing....I was just curious about it... and yes the reason no style sheets were drawn up in the code Quote: If you're too lazy to write a stylesheet then you can use inline styles: On the money Share this post Link to post
CrazyKillerMan 0 Posted August 14, 2001 they do indeed really handy ...but unfortunatly, not needed in this application Share this post Link to post
Down8 0 Posted August 15, 2001 Netscape prefers to have the BGCOLOR tags in the TD tags. -bZj Share this post Link to post
Xiven 0 Posted August 15, 2001 From http://www.w3.org/TR/1998/REC-html40-19980424/present/graphics.html#adef-bgcolor Quote: bgcolor = color [CI] Deprecated. This attribute sets the background color for the document body or table cells. This attribute sets the background color of the canvas for the document body (the BODY element) or for tables (the TABLE, TR, TH, and TD elements). Additional attributes for specifying text color can be used with the BODY element. This attribute has been deprecated in favor of style sheets for specifying background color information. For anyone interested, here's a useful test page to see how good a browser is at rendering HTML4/CSS. http://www.w3.org/Style/CSS/Test/current/sec5526c-test.htm (This is what it should look like.) Look at it in IE, Opera and Netscape 6. Then look at it in Netscape 4. And laugh. Share this post Link to post
CrazyKillerMan 0 Posted August 15, 2001 Quote: Netscape prefers to have the BGCOLOR tags in the TD tags. I know that <TD BGCOLOR="#000000"> works Just the table bgcolor dont Share this post Link to post