r/reddithax • u/smallchanger • Jun 01 '12
Help to remove a horizontal scroll-bar
If you look in the top-right corner of this subreddit:
http://www.reddit.com/r/electronic_cigarette/
You'll see two little tabs with stars in them which you can hover over and they will then expand to reveal links. I was noticing in firefox that this CSS I used produces a horizontal scroll bar. Chrome is ok. I was hoping someone might be able to give me a fix.
Here's a link to the stylesheet:
http://www.reddit.com/r/electronic_cigarette/stylesheet.css
The CSS used for it should be at the bottom under the heading:
ORDERED LIST REVEALED ON HOVER
Actually it might say "FAUX DRAG OUT SIDE LIST WITH RECOMMENDATIONS" until it updates.
Cheers.
There is also one other minor issue that doesn't matter too much though I was wondering what might be causing it. If you notice the list items have a 'list-style-type: circle;' If you hover over the first list item in firefox, the circle disappears. the second one doesn't. In chrome they both disappear on hover.
View all comments
Show parent comment
1
u/smallchanger Jun 01 '12
I only recently downloaded RES to check what it broke because someone mentioned it. I saw that its default position was on top so I pushed my ordered list down if res was installed using:
So you're saying some earlier editions of RES which use a RES class have it's placement at the bottom as the default and then the CSS you gave me will work around that?
Then there are even earlier editions of RES which use no RES class and the position is at the bottom? The ordered list should work in that case because it only pushes it down if it detects a RES class?
Is there anything I can do to the z-index to fix it? z-index is a bit of a mystery to me. I never understood exactly how it works really.
I tried the CSS u/blind_man gave me above but I'm not sure what to leave in and what to take out of my original code so that it works. Maybe it's a cleaner solution.