Author Topic: Change White Background  (Read 2445 times)

Arne

  • Administrator
  • Hero Member
  • *****
  • Posts: 778
    • ICQ Messenger - 1448105
    • AOL Instant Messenger - aflaaten
    • Yahoo Instant Messenger - arneflaa
    • View Profile
    • http://
    • Email
Change White Background
« on: August 02, 2001, 08:24:30 AM »
[Patterns]
Name = "White Background Killer 3"
Active = TRUE
Multi = TRUE
Bounds = "<(body|td|tr|table)*>"
Limit = 256
Match = "1 bgcolor=("|)(#FFFFFF|white)("|) 2"
        "|(<body)12&(^*bgcolor=*)"
Replace = "1 bgcolor="#0088DD" 2"

The second line in the match checks for no bgcolor attribute in the <body>
tag.  If a table cell doesn't have one, it'll let the body's background show
through.

Best wishes
Arne
Best wishes
Arne
Imici username= Arne