Compatible Support Forums: Netscape Tag Support

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Netscape Tag Support

#1 User is offline   CrazyKillerMan 

  • old hand
  • Group: Members
  • Posts: 761
  • Joined: 14-October 00

Posted 13 August 2001 - 08:47 PM

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
0

#2 User is offline   Xiven 

  • addict
  • Group: Members
  • Posts: 690
  • Joined: 21-May 00

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

#3 User is offline   CrazyKillerMan 

  • old hand
  • Group: Members
  • Posts: 761
  • Joined: 14-October 00

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

Quote:
If you're too lazy to write a stylesheet then you can use inline styles:


On the money

laugh
laugh
:p
0

#4 User is offline   clutch 

  • Carpal Tunnel
  • Group: Moderators
  • Posts: 3859
  • Joined: 29-March 00

Posted 13 August 2001 - 11:17 PM

Style sheets kick a$$.
0

#5 User is offline   CrazyKillerMan 

  • old hand
  • Group: Members
  • Posts: 761
  • Joined: 14-October 00

Posted 14 August 2001 - 03:08 AM

they do indeed

really handy
...but unfortunatly, not needed in this application
0

#6 User is offline   Down8 

  • addict
  • Group: Members
  • Posts: 657
  • Joined: 31-July 00

Posted 15 August 2001 - 06:42 AM

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

-bZj
0

#7 User is offline   Xiven 

  • addict
  • Group: Members
  • Posts: 690
  • Joined: 21-May 00

Posted 15 August 2001 - 11:26 AM

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

#8 User is offline   CrazyKillerMan 

  • old hand
  • Group: Members
  • Posts: 761
  • Joined: 14-October 00

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
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users