W3C home > Mailing lists > Public > www-style@w3.org > April 2007

Re: Question about default colors

From: (wrong string) ł Majchrowicz <mmajchrowicz@gmail.com>
Date: Mon, 23 Apr 2007 14:35:46 +0200
Message-ID: <3d3168e50704230535x1f056650gb83e007c5d028d32@mail.gmail.com>
To: Spartanicus <mk98762@gmail.com>, www-style@w3.org

Hi.
I am not talking about the situation, where you use image as
background! I am talking about this situation:
<?xml version="1.0" encoding="iso-8859-2"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl-PL">
	<head>
		<meta http-equiv="Content-type" content="text/html; charset=iso-8859-2" />
		<meta http-equiv="Content-Language" content="pl" />
		<title> My test page 1</title>
	</head>
	<body>
		<p>
                       My Test
		</p>
	</body>
</html>
This is valid xhtml 1.1 code. Text: "My Test" will be rendered using
user specified font and background colors. And you want to keep it
that way. And let's assume this is the site of some company. And
companies usually have some logo. For instance Google multicolored
text on white background. Since the logo has white background (to keep
site clean and nice) you have to set body background to white :(
Moreover If you want to put text "My Test" in div with rounder corners
you also have to specify body background :(
Regards Michal.
On 4/23/07, Spartanicus <mk98762@gmail.com> wrote:
>
> "Micha│ Majchrowicz" <mmajchrowicz@gmail.com> wrote:
>
> >I personally don't agree. If the webmaster uses images for logos or
> >rounder corners then he is forced to set background-color (in other
> >way the site would look silly/horrible) but he still want to allow the
> >user to specify his own font color. For Instance if the user uses
> >green/red/brown/etc. color there is no reason to not allow him to use
> >it. Since the CSS doesn't allow to specify the color that CAN'T be
> >used the best solution in that case is to use default system font
> >color.
>
> Sorry, I don't understand what you are saying.
>
> Authors /and/ users should specify both color and background-color if
> either property is set, in addition users should disable author
> specified background images if they wish to overrule author fore- or
> background colours.
>
> Please expand if you think that there are scenarios where this creates
> problems.
>
> --
> Spartanicus
>
>
Received on Monday, 23 April 2007 12:35:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:50 GMT