Daniel Kaplan wrote:
Am I confused
Yes you are. But admittedly you gave a clue of it in your forged From field.
ot shouldn't I be able to say something like this:
<div bgcolor="#CCCCFF">
Well, what prevents you from breaking HTML rules? Maybe some browser
actually implements such nonstandard constructs, and you end up with setting
background color without setting content color.
And have that section of my page/table be a light blue background?
If it's a section, you should have something like
<div class="section ads">
...
</div>
and the specific rendering suggestions should appear in CSS, not in HTML.
This means that you are more or less in a wrong group. HTMLwise, we can just
say that your markup (in your HTML snippet) is invalid and all bets are off.
Tried it inside the HTML as well as in a style sheet, and nothing.
You gave no URL of your best attempt, so yes, you are confused.
--
Yucca,
http://www.cs.tut.fi/~jkorpela/