userstyles and macrumors

Discussion of Mozilla products and their add-ons.

Moderator: EasyList authors

Post Reply
User avatar
Erunno
Emeritus Contributor
Emeritus Contributor
Posts: 1866
Joined: Fri Dec 05, 2008 5:21 pm
Reputation: 0

userstyles and macrumors

Post by Erunno » Sun Jul 19, 2009 3:57 pm

I'll abuse my fellow EasyList readers as some kind of help desk. Hope you don't mind. Anyway, so I finally decided to try getting rid of the ugly white space on http://www.macrumors.com/. After playing with Firebug for some time in order to find the responsible CSS declarations the following user style emerged:

Code: Select all

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("macrumors.com") {

}

#mr_banner {
height: 100px;
}

#menu {
top: 110px;
}

#comments {
top: 110px;
}
Changing these values in Firebug directly leads to the desired disappearance of the white space but for some unknown reason using the above style has no effect at all. Does anyone have an idea why this is the case?

Image

EDIT: Added cat for emphasis.
Zombie Contributor

User avatar
Erunno
Emeritus Contributor
Emeritus Contributor
Posts: 1866
Joined: Fri Dec 05, 2008 5:21 pm
Reputation: 0

Post by Erunno » Sun Jul 19, 2009 9:31 pm

After remembering this topic I figured the rest out myself. I'm proud to present the final result ;-) :

Code: Select all

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("macrumors.com") {
#mr_banner { height: 100px !important; }

#menu { top: 110px !important; }

#comments { top: 110px !important;}
}
Zombie Contributor

User avatar
Oxwil
Senior Member
Senior Member
Posts: 54
Joined: Mon Jun 08, 2009 10:24 am
Reputation: 0
Location: Dubai, United Arab Emirates

Post by Oxwil » Tue Jul 21, 2009 8:29 pm

Congratulations! :banana:
Everything is Possible

User avatar
Erunno
Emeritus Contributor
Emeritus Contributor
Posts: 1866
Joined: Fri Dec 05, 2008 5:21 pm
Reputation: 0

Post by Erunno » Wed Jul 22, 2009 7:45 am

Oxwil wrote:Congratulations! :banana:
Thanks. Every small victory counts! :biggrin:
Zombie Contributor

Post Reply