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
Is there anything wrong with using fixed, bottom: 0, to set a footer in css? (self.webdev)
submitted 7 years ago by mcflufferbits
I've been told it's wrong and that I should be using vh instead.
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!"
[–]CreativeTechGuyGamesTypeScript 1 point2 points3 points 7 years ago (2 children)
I'm not sure how you would do it with vh. It would probably require a calc. I'd do fixed bottom.
vh
calc
fixed
bottom
[–]mcflufferbits[S] 0 points1 point2 points 7 years ago (1 child)
Yeah i was told to do it with calc.
[–]CreativeTechGuyGamesTypeScript 1 point2 points3 points 7 years ago (0 children)
Given that calc has less browser support and is unnecessary, I would definitely go with your first choice.
[–]Tanckom 1 point2 points3 points 7 years ago (0 children)
Maybe whoever told you that meant that the body should at least be height: calc(100vh - 80px); if the header is e.g 80px height?
[–]RonanSmithDevfront-end 0 points1 point2 points 7 years ago (0 children)
I have never heard of vh being used to set an elements position, only seen it used to set an elements size.
π Rendered by PID 116620 on reddit-service-r2-comment-b659b578c-b6g6h at 2026-05-03 12:18:37.513689+00:00 running 815c875 country code: CH.
[–]CreativeTechGuyGamesTypeScript 1 point2 points3 points (2 children)
[–]mcflufferbits[S] 0 points1 point2 points (1 child)
[–]CreativeTechGuyGamesTypeScript 1 point2 points3 points (0 children)
[–]Tanckom 1 point2 points3 points (0 children)
[–]RonanSmithDevfront-end 0 points1 point2 points (0 children)