Post Reply 
[Kye-U] Google Alternate Display...
Jun. 27, 2009, 06:46 AM
Post: #21
RE: [Kye-U] Google Alternate Display...
Gentlemen,

I've tried the latest config with update.zip (v6.6) and what I see in Google themes is - the intention to make a small gap (additional 3px) between text block and <CITE> block below is not working in IE7 or FF3. It's because the gap is supposedly made by <BR class="mainspace"> element. But whatever you assign to its style (using "br.mainspace {line-height: 3px;}\r\n" line) - 3px, 30px or 300px - there is no any reaction on that setting. There is no additional space created.

To mitigate the problem I've made small change in "Google Search: Alternate Display 9.04.30" filter replacing
Code:
"( <br>$SET(7=<br class=mainspace>)|( <(table|cite))\7)"
with this code
Code:
"( <br>$SET(7=<div class=mainspace></div>)|( <(table|cite))\7)"
It simply replaces the <BR> element with <DIV> block. In the result I can adjust the gap as I need.

Here is code that I currently use in my filters that uses the new <DIV> tag (see the line before the last line):
Code:
Name = ". + Google Light Theme     9.06.26 (!nn) [ozo] (o.s)"
Active = TRUE
URL = "$TYPE(htm)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))[^:/]+/(intl/[^/]+/(^?)|search\?(^q\=cache:)|webhp|(^?))"
Limit = 32
Match = "<style( id=\"themed\"*>$INEST(<style,//-->|-->|</style))\2(*</style >)\3"
Replace = "<style\2\r\n"
          "/* Google Light Theme */\r\n"
          "a {text-decoration: none;}\r\n"
          "a:link, .q a:link, a.toplink:visited {color: #00A !important;}\r\n"
          "a:visited {color: #A0D;}\r\n"
          "a:active, .q a:active, a.fl:active {color: #D00 !important;}\r\n"
          "a:hover, .q a:hover, a.fl:hover {text-decoration: underline; color: #000 !important;}\r\n"
          "a.ProXPref:hover {color: #379CCD;}\r\n"
          "a.ProXPrefJs {color: #008 !important; }\r\n"
          "a.ProXPrefJs:visited {color: #A0D !important;}\r\n"
          "a.ProXPrefJs:active {color: #D00 !important;}\r\n"
          "a.ProXPrefJs:hover {color: #000 !important;}\r\n"
          ".odd {background: #F0F0FE;}\r\n"
          ".even {background: #F0FEF0;}\r\n"
          ".s {max-width: none !important; width: auto !important;}\r\n"
          "div.med {padding-right: 0 !important;}\r\n"
          "li {padding-left: .5em; padding-right: .5em;}\r\n"
          ".g {line-height: 16px; margin-top: 10px; margin-bottom: 10px;}\r\n"
          "div.mainspace {padding-top: 3px;}\r\n"
          "\3"

It's not a big deal, but rather something to consider in a future config set...
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [Kye-U] Google Alternate Display... - OZO - Jun. 27, 2009 06:46 AM
RE: [Kye-U] Google Alternate Display... - OZO - Jun. 27, 2009, 07:43 PM

Forum Jump: