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
Page 1 of 1
Netscape Tag Support
#2
Posted 13 August 2001 - 10:13 PM
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.
<table BGCOLOR="#000000" WIDTH="50%" BORDER=0 COLS="2" style="background-color:black">
should do the trick.
#3
Posted 13 August 2001 - 10:22 PM
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
On the money


:p
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
:p
#5
Posted 14 August 2001 - 03:08 AM
they do indeed
really handy
...but unfortunatly, not needed in this application
really handy
...but unfortunatly, not needed in this application
#7
Posted 15 August 2001 - 11:26 AM
From http://www.w3.org/TR/1998/REC-html40-19980424/present/graphics.html#adef-bgcolor
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.
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.
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.
#8
Posted 15 August 2001 - 03:49 PM
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 topic:
Page 1 of 1

Help










