943,936 Members | Top Members by Rank

Ad:
Jul 8th, 2006
0

HTML 3.2 table background color

Expand Post »
How do I change the table background color with valid HTML 3.2 code? The browsers I use (the big four--IE, FF, Opera, Netscape) had no problem with the BGCOLOR tag, but that's for HTML 4, not HTML 3.2.

If at all possible I'd like to avoid CSS, nothing personal but it's just another layer to learn and screw up.
Similar Threads
Reputation Points: 23
Solved Threads: 23
Posting Pro in Training
Puckdropper is offline Offline
494 posts
since Jul 2004
Jul 13th, 2006
0

Re: HTML 3.2 table background color

You can't. http://www.w3.org/TR/REC-html32-19970114

But why do you want to, HTML 3.2 was superseded by HTML 4.0 in 1997. But CSS is supported, so if you truely want 3.2 level implementation you will have to learn some CSS.
Reputation Points: 20
Solved Threads: 5
Junior Poster
alpha_foobar is offline Offline
182 posts
since May 2005
Jul 13th, 2006
0

Re: HTML 3.2 table background color

Use simply CSS wasn't take you 2 years to learn! The following is nice and simple solution to background colour:
HTML and CSS Syntax (Toggle Plain Text)
  1. <table style="background-color: #123456">
Reputation Points: 10
Solved Threads: 7
Posting Whiz in Training
zippee is offline Offline
294 posts
since Jan 2005
Jul 13th, 2006
0

Re: HTML 3.2 table background color

zippee, the page still didn't validate using your suggestion. Thanks anyway.

I changed the DTD to HTML 4.01 Transitional, and the page validated. I guess for now I'll be using HTML 4.01 Transitional.
Reputation Points: 23
Solved Threads: 23
Posting Pro in Training
Puckdropper is offline Offline
494 posts
since Jul 2004
Jul 14th, 2006
0

Re: HTML 3.2 table background color

Puck - it's all in your mindset. When you realize that CSS was invented to FIX issues with HTML, or to SIMPLIFY/STANDARDIZE HTML (so that we didn't have a lot of custom-to-the-browser tags like "layer") - then perhaps learning CSS won't be such a hurdle for you.
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
Jul 14th, 2006
0

Re: HTML 3.2 table background color

I'm getting along fine without CSS at the moment. I'll probably be forced to learn it at some time, but the heart of my web programming (not web mark up) is PHP. Most (if not all) of my pages are static documents, as enjoyable printed out as they are on the monitor.

I'm kind of oldschool where I believe a web page's value is not in it's technology, but in the content it provides. A friend of mine recently expressed the same thing.
Reputation Points: 23
Solved Threads: 23
Posting Pro in Training
Puckdropper is offline Offline
494 posts
since Jul 2004
Jul 14th, 2006
0

Re: HTML 3.2 table background color

We simply disagree that CSS is unrelated to "content".

In fact, it allows the HTML to be solely content. Ask yourself what "BGCOLOR" has to do with the "content" of your site, and perhaps you'll see my point.
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
Jul 15th, 2006
0

Re: HTML 3.2 table background color

I do see your point.

The point I was trying to make was with or without CSS, my webpage if rendered exactly the same, will be of equal value to the reader. By not learning CSS at this time, I can work on improving what it contains rather than work on making it look exactly the same.
Reputation Points: 23
Solved Threads: 23
Posting Pro in Training
Puckdropper is offline Offline
494 posts
since Jul 2004

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: changing font type working in IE not in firefox
Next Thread in HTML and CSS Forum Timeline: div inside another div , actually over the bottom slice





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC