Netscape Tag Support

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 wit ...

Slack Space 1613 This topic was started by ,


data/avatar/default/avatar17.webp

757 Posts
Location -
Joined 2000-10-14
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

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar19.webp

690 Posts
Location -
Joined 2000-05-21
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.

data/avatar/default/avatar17.webp

757 Posts
Location -
Joined 2000-10-14
OP
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
 




data/avatar/default/avatar19.webp

3857 Posts
Location -
Joined 2000-03-29
Style sheets kick a$$.

data/avatar/default/avatar17.webp

757 Posts
Location -
Joined 2000-10-14
OP
they do indeed
 
really handy
...but unfortunatly, not needed in this application

data/avatar/default/avatar13.webp

651 Posts
Location -
Joined 2000-07-31
Netscape prefers to have the BGCOLOR tags in the TD tags.
 
-bZj

data/avatar/default/avatar19.webp

690 Posts
Location -
Joined 2000-05-21
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.

data/avatar/default/avatar17.webp

757 Posts
Location -
Joined 2000-10-14
OP
Quote:Netscape prefers to have the BGCOLOR tags in the TD tags.

I know that <TD BGCOLOR="#000000"> works

Just the table bgcolor dont