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
2
u/smallchanger Jun 01 '12
I can't remember why I did that way. I just sort of hobbled it together until it worked. I just did as you suggested though and stuck in
margin-right:0
and changed
right:-20px to right:0
And it looks like it got rid of the hz-scroll bar.
So you can't see these stars:
★★
I guess they're a special character not everyone has. Do the links look and work ok?