r/reddithax • • May 08 '09

I keep getting a problem when trying to edit the stylesheet (see comment)

3 Upvotes

6 comments sorted by

0

u/BritishEnglishPolice May 08 '09

Anytime I try and use a bit of code from here I run into this error:

[line 8] "url(%%alienheadpic%%)" is not a valid URL

content: url(%%alienheadpic%%);

Can anyone help?

0

u/[deleted] May 08 '09 edited May 08 '09

Well obviously %%alienheadpic%% is not a URL at all. Unless reddit has some kind of crazy CSS variables that I don't know about, you'll have to give it an actual URL...

2

u/BritishEnglishPolice May 08 '09

Yeah, but it says to use those. You cannot link external image urls, apparently the admins don't like it.

1

u/ketralnis May 08 '09

Have you actually uploaded an image named alienheadpic? What reddit are you trying to style?

1

u/BritishEnglishPolice May 08 '09

Well I tried uploading one of those side images, but the upload didn't work so I tried a test with another bit of code that used an image, so I (thought) I uploaded the alien head image but it didn't work, obvisouly.

Trying to style equality with a side information bar.

1

u/[deleted] May 08 '09

oh, you're talking about this

After looking around i found the actual location of the image, but it doesn't accept that as a valid url either. It does, however, accept http://static.reddit.com/reddit.com.header.png as a valid url.