W3C home > Mailing lists > Public > site-comments@w3.org > August 2007

Re: [Moderator Action] Re: No color for links

From: Ian B. Jacobs <ij@w3.org>
Date: Thu, 09 Aug 2007 16:22:42 -0500
To: "Nuno J. Silva" <nunojsilva@mail.telepac.pt>
Cc: site-comments@w3.org
Message-Id: <1186694562.18165.1.camel@localhost>
On Thu, 2007-08-09 at 00:03 +0100, Nuno J. Silva wrote: 
> On Wed, 08 Aug 2007 22:12:29 +0000
> "Ian B. Jacobs" <ij@w3.org> wrote:
> 
> > On Wed, 2007-08-08 at 18:14 +0000, Nuno J. Silva wrote:
> > > On Wed, 08 Aug 2007 12:49:17 -0500
> > > "Ian B. Jacobs" <ij@w3.org> wrote:
> > > 
> > > > On Wed, 2007-08-08 at 18:40 +0100, Nuno J. Silva wrote:
> > > > > On Wed, 08 Aug 2007 16:44:38 +0000
> > > > > "Ian B. Jacobs" <ij@w3.org> wrote:
> > > > > 
> > > > > > On Wed, 2007-08-08 at 14:41 +0000, Nuno J. Silva wrote:
> > > > > > > The page at <http://www.w3.org/Protocols/> does not specify
> > > > > > > a color for links. 
> > > <snip/>
> > > > > > I'm not sure I understand. The fact that we don't specify link
> > > > > > colors (but just black text on a white background) suggests
> > > > > > to me that your browser settings should create the effects
> > > > > > you prefer. If we don't have style set for links, then we are
> > > > > > not overriding any of your settings.
> > > > > 
> > > > > You are actually overriding the text and background colors, but
> > > > > leaving the links as is.
> > > > > 
> > > > > This will result in white background, black text and the links
> > > > > will take the color I've configured in browser preferences.
> > > <snip/>
> > > > Thank you for the follow-up. I've updated the link to the style
> > > > sheet; please let me know if it works for you.
> > > 
> > > Now I get white text and yellow links over a black background, but
> > > the main header, “HTTP - Hypertext Transfer Protocol” is unreadable,
> > > black over black.
> > 
> > I believe the relevant stylesheet for the h1 element is:
> > 
> >  h1 {
> >     background: transparent;
> >     color: #000;
> >     }
> > 
> > Are you using "!" in your user style sheet?
> > 
> >  _ Ian
> 
> No, I'm using the firefox preferences window (Edit » Preferences »
> Content » Colors).
> 
> As far as I can understand your stylesheets, now there's no background
> color, 

Right, I don't see one specified for the body.

> and <http://www.w3.org/StyleSheets/activities-import.css> is
> setting colors for headers,

It's also setting the background as transparent.

> what causes this issue with <h1> (the
> origin of the issue being the code you posted).

What surprises me is that firefox's preferences do not override
all of the author's style rules (in this case our h1). I am not
sure how the browser is handling the interaction between the
user style sheet and the author style sheet.

_ Ian

-- 
Ian Jacobs (ij@w3.org)   http://www.w3.org/People/Jacobs
Tel:                     +1 718 260-9447

Received on Thursday, 9 August 2007 21:22:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:30 GMT