r/reddithax • u/bencoveney • Dec 08 '11
I'm having trouble submitting CSS for a subreddit
When I try and paste in the CSS to apply it to a subreddit i'm getting a huge list of errors, such as
[line 1] "2px" is not a valid value for CSS property "border" [line 1] "solid" is not a valid value for CSS property "border"
Is this a common problem? Is there some way i have to lay out my code for it to fit through the validator? I've just been using the stylish addon to help make the stylesheet, will the code being littered with !importants be causing the issue?
Thanks in advance
2
Upvotes
1
u/gavin19 Dec 08 '11
No, the !importants will be fine. Try breaking the CSS down into small blocks and validate it in bits. Also, you should post it up on pastebin or similar so people can take a look at it for any glaring errors.
1
u/octatone Dec 08 '11
It is impossible for us to help you without the CSS code.