Jump to content
Compatible Support Forums
Sign in to follow this  
CrazyKillerMan

Netscape Tag Support

Recommended Posts

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

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

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

 

laugh

laugh

:P

Share this post


Link to post

Netscape prefers to have the BGCOLOR tags in the TD tags.

 

-bZj

Share this post


Link to post

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×