Joel Shepherd said:
Hmm.
Boy, in all the "Which is the Better Browser" discussions I've
seen, that particular feature has never come up. But anyway ...
Well, it sounds like you're assuming that all browsers will use the same
background color, which simply isn't a safe assumption. Not just because
different browsers have different out-of-the-box defaults, but also
because users can change those defaults.
You are missing my point.
I never said not to give users flexibility, but not everything and not every
default. Even Windows, which does let you change themes and color styles,
controls what you are allowed to change. You can have all the wierd color
combinations you want, but they are only going to affect certain objects,
not everything.
If a user changes defaults such as color, that is his business and if it
makes the pages look strange that's fine and his choice.
But the out of the box defaults for things such as how tables are handled,
how objects are placed in relation to each other, how much margin or
padding, etc - should be something you can rely on. Otherwise, they are
worthless. What is the point of making paragraph margin defaults different.
There are certain aspects of any object or style that you have to depend on.
Even in CSS styles - you have to depend on the behavior of the styles or
they are worthless. What is the point of saying "vertical-align:top" and
have one browser say that they will align it on the bottom. That makes no
sense.
In general, if you're planning on setting the color of some element that
is going to be sitting on a background, it's wise to specify a
background color as well, to avoid problems just like the one you
mention.
Agreed.
Well, it would be nice to be able to depend on browsers sticking to the
specs. But A) Specific default colors aren't part of any spec that I'm
familiar with, and B) Since users can usually change the defaults in
their own installation, they can't be depended on anyway.
But they can't change the default of everything.
And I wasn't the one that mentioned background color which is not the type
of behavior I was talking about. I am not trying to say that we should not
have flexibility and creativity. But you can't have it in everything or you
have chaos.
Are you sure about that? Most operating system's GUIs -- including
Windows -- give the user a lot of flexibility to specify the color of
various elements, change font size, change thickness of borders, etc.
You're liable to run into the same problem if you don't take care to
specify foreground _and_ background colors when the defaults -- whatever
they are -- aren't being used.
Again, I am not talking about not giving users flexibility. But look at
what MS allows you to change. You can change the appearance of your screen
(color tints, Font size) and even styles of windows - but then everything
will work the same under those conditions. You can't make your own windows
styles (only the 2 that Windows gives you) or affect how the "Save As" menu
item works, for example.
Tom