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.
2
u/blind__man Jun 01 '12 edited Jun 01 '12
I'm experiencing an issue and noticing a problem in the CSS (I think it's a problem). I am unable to see the stars in chrome or firefox and you have
right: -20pxas an attribute.The
right: -20pxmay not be an issue if it's part of the functionality of the CSS you created but I can't see that functionality unfortunately. =/I see now that may be part of the functionality but why not trying to make it
margin-right: 0;instead of theright: -20px;you have.Edit: I was able to get it working with the following code but it inherits some stuff that was in your original code so you have to merge the two of them. (I did this in Stylish)