First, thanks for all the help that you all do for reddit. I tried to cut and paste two snippets of code from /r/shitredditsays into my subbreddit. Everything works except for one line - a URL that is apparently invalid but works as-is in the SRS stylesheet.
Here are the two sections (which basically switches the upvote and downvote positions) in the SRS stylesheet that I am working with. The 'invalid' URL is highlighted in bold. I believe the only thing it does is creates the upvote and downvote arrows. I am only trying to cut and paste exactly the two sections below into my subreddit and nothing more, so my approach could be generating the error as well. Here's the code:
/* Adjust scores and info text: */
.content .score:before, .linkinfo .number:before { content: "-" }
.linkinfo .upvotes .number:after { content: " upvotes are downvotes" }
.linkinfo .downvotes .number:after { content: " downvotes are upvotes" }
.content .score, .linkinfo .number { white-space: nowrap }
.linkinfo .upvotes .word, .linkinfo .downvotes .word { display: none }
.link .midcol .score { position: relative; left: -0.5ex }
.link .midcol { padding: 0 0.5ex }
/* Up is down. Down is up: */
.arrow.up, .arrow.upmod, .arrow.down, .arrow.downmod { background-image: url(http://b.thumbs.redditmedia.com/detvcVr0wHxOoZKU.png) }
.arrow.up { background-position: -48px -658px }
.arrow.upmod { background-position: -16px -658px }
.link .arrow.up, .link .arrow.upmod { position: relative; top: 32px }
.commentarea .arrow.up, .commentarea .arrow.upmod { position: relative; top: 16px }
.arrow.down { background-position: -32px -658px }
.arrow.downmod { background-position: 0px -658px }
.link .arrow.down, .link .arrow.downmod { position: relative; top: -32px }
.commentarea .arrow.down, .commentarea .arrow.downmod { position: relative; top: -16px }
Which throws the following error:
[line 11] "url(http://b.thumbs.redditmedia.com/detvcVr0wHxOoZKU.png)" is not a valid URL
What line can I add or subtract to make it work? Thanks again
EDIT UPDATE: SOLUTION FOUND. Underneath all of that, I had the typical hide downvote snippet. That snippet was hiding both the upvote and downvote errors. Changing it to:
/hides the downvote arrow/
.arrow.down { visibility: hidden; }
corrected the error.
THANKS NOAHJK FOR ALL OF YOUR HELP!!!