SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard
    Join Date
    Jun 2005
    Posts
    1,438
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Defualt colour in the browser ?

    I remember being told about 8-9 years ago, (from memory now) to change the default colour in your browser, to something like a yukky pink, so that if someone hadn't specified a body colour, the website would have your default colour of yukky pink.

    Why do this?? Sorry, and I may be thinking of this from the wrong angle, but most non web-techie people wouldn't dream of changing their default colour in their web-browser, so it would show the browser default, which is white, isn't it?? Surely that's not a bad thing?

    Confused.com

  2. #2
    Mouse catcher silver trophy Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,892
    Mentioned
    123 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Dez View Post
    I remember being told about 8-9 years ago, (from memory now) to change the default colour in your browser, to something like a yukky pink, so that if someone hadn't specified a body colour, the website would have your default colour of yukky pink.

    Why do this?? Sorry, and I may be thinking of this from the wrong angle, but most non web-techie people wouldn't dream of changing their default colour in their web-browser, so it would show the browser default, which is white, isn't it?? Surely that's not a bad thing?
    Some people do change the default colour in their browser (may not even be deliberate, just playing around with settings). Some browsers may default to grey instead of white. That's why it's important to specify a background colour of white if that's what you want – you can't rely on people having it as a default. Sure, almost all of them will, but there will be some that don't, and for the effort of typing background-color:white; you might as well make sure that your site will look as (close as possible to what) you intended.

    The basic rule is that if you're defining any one of: foreground colour, background colour, link colour, link hover/focus colour, visited link colour, then you should define all of them. Otherwise some people with non-standard defaults will see a complete mess.

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,296
    Mentioned
    460 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by Dez View Post
    Why do this?
    You'd have to ask the person who advocated it! Presumably it's just to pick up on bad web design. Zeldman spoke about this a few years back, posing it in his inimitable way:

    Is your (website’s) underwear showing?

    Stevie's comments are right on the mark.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •