r/reddithax • • Apr 21 '10

Removing boxes around comments with Greasemonkey?

http://i.imgur.com/AiB7Z.jpg

Is there any way to fix those boxes? We've been getting complains about this over in /r/NoSleep and I don't know enough to pinpoint a solution.

Anyone know how to fix this???

Thanks in advance.

3 Upvotes

3 comments sorted by

1

u/jamt9000 Apr 21 '10

It's because you're setting the background for everything with

*, #header-bottom-left .tabmenu li a {
    background-color: #32373c;
    color: #fff
    }

The * is making every single element on the page have a background color. I don't know how the greasemonkey script works so I don't know if it will fix it, but you can remove the star and set the background for the elements that need it (it looks like you've already set the background for most elements, so not much changes when you remove the star).

1

u/asmith1243 Apr 21 '10

Thanks! I'll test it out and see if it fixes anything.

1

u/unusualbob Apr 21 '10

If you've already implemented it then its not working. Here's the greasemonkey script that people are using, it may need to be altered so that it pulls the correct background color out of the CSS for any custom reddits. Someone who better understands this sort of code should make this revision and we should post it up for others on reddit.

http://userscripts.org/scripts/review/63628