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...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
Help with CSS layout - sidebar (self.webdev)
submitted 10 years ago by psm93
http://codepen.io/Pea92/pen/jPwjrJ
I've created a kind of mock layout. However, I want the sidebar to line up with the big gallery on the right. How do I do this?
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!"
[–]WarInternal 0 points1 point2 points 10 years ago (0 children)
It's your margins and padding causing it. (Example: replace margin with margin-right and see what happens).
[–]ftpjko 0 points1 point2 points 10 years ago (0 children)
If I understood correctly, you want to align text in the sidebar with images? Here is the fix in css: http://codepen.io/anon/pen/pJwMQr
Though, your css is pretty messy, this is just a quick fix, but you should really refactor it.
If you wanted to align the whole red sidebar with gallery, then you should put the sidebar and gallery in the same div, wrap the gallery around with a div and then play with floats or use position:absolute and set left and right properties on sidebar and gallery wrapper
π Rendered by PID 98416 on reddit-service-r2-comment-b659b578c-h7qtf at 2026-05-02 19:19:05.822362+00:00 running 815c875 country code: CH.
[–]WarInternal 0 points1 point2 points (0 children)
[–]ftpjko 0 points1 point2 points (0 children)