Author Topic: White killer  (Read 2830 times)

Grasso

  • Newbie
  • *
  • Posts: 1
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
White killer
« on: March 12, 2002, 01:09:38 PM »
Snow white backgrounds in HTML pages hurt the eye. What HTML authors respectivly their HTML editor programs do is a sign of evil, of that computer misery we all love so much. PCs are anti-ergonomic, loud, insecure, illogical, messed up, disintegrated.

Most programs obey to the values specified by the Windows GUI. These values can be set under "display > appearance > ...". That means that you can set window background color to light grey (for instance) and immediatly see the result in most of your applications. Also browsers do, but when a HTML page explicity specifies a background color, this overrides Windows GUI values. Sure, most browsers can be told to ignore ALL colors, but then it gets plain ugly - I want to get rid of bright white planes only.

For Mozilla there is a solution: Generate a text document and write the lines
* [bgcolor="#FFFFFF"] { background: #ECECEC ! important; }
* [bgcolor="white"] { background: #ECECEC ! important; }
into it and save it as ...MozillaProfiles...chromeuserContent.css. That works for 95% of all white web pages, it exchanges the color value #FFFFFF (= 100% white) by #ECECEC (= 95% white).

Unfortunatly more and more HTML pages exchange the HTML command "bgcolor=#FFFFFF" (also known as the vomit white tag ) by CSS commands. CSS commands (as in userContent.css) cannot analyse and modify CSS commands (as in web pages) as specifically as they can access HTML commands, hence we must let all CSS-generated colors pass through. Me thinks that CSS is a sick format, even though you can acess it via Javascript. See w3c.org for the CSS2 standard if you don?t believe me! CSS1 was founded by M$, by the way. If you hate white even more than I do, use
* *[class] { background: #ECECEC ! important; }
* *[id] { background: #ECECEC ! important; }
* *[style] { background: #ECECEC ! important; }
Or at least:
* BODY[class] { background: #E8E8E8 ! important; }
* BODY[style] { background: #ECECEC ! important; }
But then you should also tie text colors to black, else you will get unreadable white-on-white text sometimes.

http://grassomusic.de/english/white.htm

Yours,
  Grasso

 
 

Arne

  • Administrator
  • Hero Member
  • *****
  • Posts: 778
    • ICQ Messenger - 1448105
    • AOL Instant Messenger - aflaaten
    • Yahoo Instant Messenger - arneflaa
    • View Profile
    • http://
    • Email
White killer
« Reply #1 on: March 12, 2002, 02:01:01 PM »
Hi,
Proxomitron can change thes colors as well. Just do a searc for color or Bright Background Dimmer and you will find filters that deal with it. Most browsers also support the use of your own css as well.


Best wishes
Arne
Imici username: Arne
Best wishes
Arne
Imici username= Arne

Arne

  • Administrator
  • Hero Member
  • *****
  • Posts: 778
    • ICQ Messenger - 1448105
    • AOL Instant Messenger - aflaaten
    • Yahoo Instant Messenger - arneflaa
    • View Profile
    • http://
    • Email
White killer
« Reply #2 on: March 12, 2002, 02:03:18 PM »
[Patterns]
Name = "Bright Background Dimmer - CSS"
Active = FALSE
Multi = TRUE
Limit = 256
Match = "background(-color|)1 : ([^;}"'>]++)2 ("
        "((#)#|$SET(#=#))"
        "("
        "(F$SET(#=B)"
        "|E$SET(#=A)"
        "|D$SET(#=9)"
        "|C$SET(#=8)"
        "|([0-9AB])#"
        ")([0-9A-F])#"
        ")+{3}"
        "|"
        "(F$SET(#=B)"
        "|E$SET(#=A)"
        "|D$SET(#=9)"
        "|C$SET(#=8)"
        "|([0-9AB])#"
        ")+{3}"
        "|"
        "(rgb()#"
        "("
        "([#0:199]( , |))#"
        "|"
        "(25$SET(#=20)"
        "|24$SET(#=19)"
        "|23$SET(#=18)"
        "|22$SET(#=17)"
        "|21$SET(#=16)"
        "|20$SET(#=15)"
        ")([#0:9]( , |))#"
        ")+{3}"
        "())#"
        "|"
        "(rgb()#"
        "("
        "([#0:79]%( , |))#"
        "|"
        "(10$SET(#=7)"
        "|9$SET(#=6)"
        "|8$SET(#=5)"
        ")([#0:9]%( , |))#"
        ")+{3}"
        "())#"
        ")"
Replace = "background1:2@"

Best wishes
Arne
Imici username: Arne
Best wishes
Arne
Imici username= Arne