0

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.

4
Contributors
7
Replies
8
Views
12 Years
Discussion Span
Last Post by Puckdropper
0

Use simply CSS wasn't take you 2 years to learn! The following is nice and simple solution to background colour:

<table style="background-color: #123456">
0

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.

0

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.

0

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.

0

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.

0

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.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.