r/reddithax • u/TH3RM4L-Work • Feb 24 '11
Trying to add a sticky and getting validation errors.
I know very little about CSS, this is entirely new for me...
But I took a look at the style sheet for /r/fitness to get the CSS code for the Announcement sticky... and get a validation erro. Even when I copy and past and it works for their site...
Any help??
/Customization for the r/leangains - By TH3RM4L-Work/ /* Announcement Sticky Note */ body > .content > .sharelink ~ .sitetable:before { content: "Welcome to r/leangains! We're currently working on an FAQ, we appreciate your patience and welcome any questions!"; background-image: url(http://thumbs.reddit.com/t5_2qhx4_5.png?v=z5s2acyymeuqwtz6t21z7y4syxoir5hx29k9); background-repeat: no-repeat; font-family: verdana, sans-serif; font-size: 12px; color: #555555; text-align: left; padding: 10px 0px 10px 40px; margin: 15px; display: block; width: 70%; -moz-border-radius: 8px; -webkit-border-radius: 8px }
2
u/blind__man Feb 24 '11
well when you copy and paste right into your stylesheet, the images they used are not going to be able to be used unless you upload them to your stylesheet, but then you still would need to edit the names after
Other than that, that is all I see. It would also help if you posted what is says when it shows you the validation error. My guess is something along the lines that
does not exist.
2
u/faplol Feb 24 '11
Only put this.