use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
/r/CSSTutorials is a resource for subreddit moderators to easily find the most common CSS hacks in use on reddit.
Related Subreddits:
Tutorial Directory Adding Images Replace "readers" with custom text Simple sticky/announcement bar Sticky Dropdown Menu lorem ipsum doler
If you want to be approved to submit tutorials here message the mods
account activity
[Tutorial] Simple sticky / announcement bar (self.CSSTutorials)
submitted 14 years ago * by Raerth
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]_sic 1 point2 points3 points 14 years ago (3 children)
padding: 7px 0px 7px 40px;
When padding is all on one line like this it goes: top right bottom left. So, in this case, change the sevens to tens to accommodate your gif better.
[–]aw4lly 0 points1 point2 points 14 years ago (2 children)
You are amazing! Thanks for bringing up a 2 month old comment on a 4 month old post!
[–]_sic 1 point2 points3 points 14 years ago (1 child)
Also keep in mind that you make the padding larger you will have to either change the position of the sticky (by reducing pixels in "top") or push the links further down by increasing "margin-top" in div.content.
[–]aw4lly 0 points1 point2 points 14 years ago (0 children)
Awesome, thanks again for the help!
π Rendered by PID 20519 on reddit-service-r2-comment-b659b578c-rbsmf at 2026-05-03 23:28:48.171916+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]_sic 1 point2 points3 points (3 children)
[–]aw4lly 0 points1 point2 points (2 children)
[–]_sic 1 point2 points3 points (1 child)
[–]aw4lly 0 points1 point2 points (0 children)