I make a footer positioned absolute to the bottom  &lt;div class="footer"&gt;      &lt;p class="text-center" style="padding-top: 70px"&gt;Copy Right www.example.com &lt;/p&gt; &lt;/div&gt;  footer, .footer {     position: absolute;     width: 100%;     height:20%;     color: rgba(255,255,255,0.75);     background-color: #24292e; }   The footer works properly if the content is long enough, else the content is short the footer will float far beyond the bottom line  I tried to set position: fixed in which situation the footer follows the mouse to scroll.  How could I fix the footer to bottom but not following the mouse.
I have a simple 2-column layout with a footer that clears both the right and left div in my markup.  My problem is that I can't get the footer to stay at the bottom of the page in all browsers.  It works if the content pushes the footer down, but that's not always the case.
I was wondering why I couldn't delete my own question. Well actually, I have accepted the question itself to be wrong and even I feel that I have accepted a wrong answer, but when I try to delete my question, I get a message saying that,"This question can't be deleted, flag it for moderator attention". Why is this happening and how can I solve this? I would like to toggle the Do Not Disturb in the notification center with a keyboard shortcut.  I am using BetterTouchTool for some extra keyboard shortcuts but it does not support enabling/disabling the notifications in the default options.  It has an option for executing a terminal command so I'm asking here how to enable/disable Do Not Disturb from the terminal?  I found  and I tried to run the commands but it didn't seem to work. How to change the shadow color in Blender Cycles? I want to change the color of the shadow casting by a cube to green. While it's very easy to do it in Blender Internal (you select the lamp, go to the Lamp data header and change the shadow's color in the Shadow panel) in Cycles there're no such options. How to achieve it in Cycles? The shop is five minutes away.     According to the dictionary, away is an adverb. An adverb modifies a verb. In the above example, what word does away modify? Why is away not an adjective?       The shop is five meters tall.     tall is an adjective in the second example. It modifies five meters (does it?). So why is away an adverb? Why does my query run fast in Environment A, but slow in Environment B? I have a piece of SQL that seems to run really fast in Environment A, but the exact same query runs really slow in Environment B!  Environments are supposed to be the same, so what should I do and/or where should I look in order to see why the query doesn't perform the same? If $\gcd (a,b) = 1$, what can be said about $\gcd (a+b,a-b)$? How do we know photons have spin 1? I have some survey response data that are inconsistent and I'm not sure what is the best way to handle them.  This is the nature of the inconsistency:    Have you ever had a food poisoning episode that you think might have been caused by the food in a particular restaurant ? a) Yes b) No Did any of these episodes prevent you from eating at that restaurant again?  a) Does not apply, never have had a food poisoning episode b) Yes c) No Following these episodes, did you come back to your normal condition after 24 hours?  a) Does not apply, never have had a food poisoning episode b) Yes c) No   I believe that the intent of the designers of the survey was that anyone answering "No" to 1) should answer "Does not apply" to 2) and 3), but that's not how it worked. A large group of respondents picked "No" for 1) and "No" for at least one of 2) or 3).    What is the best way to deal with this inconsistency?    Where are some good references (books, papers, websites, etc.) to look at discussions and solutions for issues of this kind, and data cleaning in general? One-hot vs dummy encoding in Scikit-learn Jackknife vs. LOOCV For example an electron radiates when accelerated. So does a positron. But is the radiation emitted by accelerated positronium the sum of the radiation emitted by each separately? If not, why not? If so, does this provide a way of testing whether a given neutral particle is composite? For example, does a neutron bremsstrahlung when decelerated? scope of clause within complex sentence If I said, &quot;I will run, not if it is snowing, if I my shoes are comfortable.&quot; Does the &quot;if my shoes are comfortable&quot; modify the &quot;I will run&quot; clause? I agree the sentence would be clearer with the addition of &quot;and&quot; in place of the comma. However, without the &quot;and&quot; is it still clear that the &quot;if my shoes are comfortable&quot; clause modifies the &quot;I will run&quot; clause? How to roll the viewport? How do I rotate the viewport around the local (to the view port) - Z axis?  Basically what you would  get if you were to hit R with the camera selected in camera view. Using Through to evaluate complex expressions Let $$ f(x) =    \begin{cases}\begin{align}     1\quad&amp;\text{ if }\; 0\leq x \leq 1 \\     2 \quad&amp;\text{ if }\; 1&lt;x \leq 2 \\   \end{align}\end{cases}$$  Then $\int^2_0 f(x)dx=3$ and an anti derivative of f(x) is $$F(x)=\begin{cases}\begin{align}     x\quad&amp;\text{ if }\; 0\leq x \leq 1 \\     2x \quad&amp;\text{ if }\; 1&lt;x \leq 2 \\   \end{align}\end{cases}$$ But, $F(2)-F(0)=4-0=4 \neq 3.$ Why has this happened?  Find an anti-derivative $G(x)$ of $f(x)$ such that $G(2)-G(0)=3$, the correct answer.  My attempt: $F(2)-F(0)=4 \neq 3$ because we need to break it up into two parts like this: $\int^2_1 2x dx + \int^1_0 x dx = x^2|^2_0 + \frac{1}{2} x^2|^1_0 =4-1+\frac{1}{2}-0=3.5$ but this is not right either. :(  For the "Find an anti-derivative $G(x)$..."I'm completely lost but perhaps if we solve the first part then I'll understand what it's asking for there.  Any help would be appreciated. I am an Australian currently on a Netherlands working holiday visa that ends in May next year. I would like to know if when my visa ends I then get another 90 days just as a regular tourist visa as I would like to do some more travel within Europe when my visa ends before going home to Australia. This is a 2015 IMO problem.  It seems difficult to solve.     Find all triples of positive integers $(a, b, c)$ such that each of the numbers $ab-c$, $bc-a$, and $ca-b$ is a power of $2$.   Four such triples are $(a,b,c)=(2,2,2),(2,3,2),(3,5,7),(2,6,11)$. My friend recently received a new digital drawing tablet (Wacom Intuos Pro). Among other features, there is a hole that resembles a charm hole found on mobile phones:    Other parts of the package (e.g. pen) do not have such holes, so it isn't possible to attach them using a band. What is the purpose of this hole? Is it just for attaching various charms and such? Prove that there are $p+1$ points on the elliptic curve $y^2 = x^3 + 1$ over $\mathbb{F}_p$, where $p > 3$ is a prime such that $p \equiv 2 \pmod 3$. Let $p &gt; 3$ be a prime such that $p \equiv 2 \pmod 3$. Define the elliptic curve $E$ over $\mathbb{F}_p$ by $y^2 = x^3 + 1$. Prove that $E(\mathbb{F}_p)$ consists of $p+1$ points.  Using Fermat's little theorem you can prove that $x^3 + 1$ is a bijection on $\mathbb{F}_p$. Hence, $$\#E(\mathbb{F}_p) = \#\{(x,y) \in \mathbb{F}_p^2 : y^2 = x^3 + 1\} + \#\{\infty\} = \#\{(x,y) \in \mathbb{F}_p^2 : y^2 = x\} + 1.$$ But then I am stuck trying to prove that $y^2 = x$ has $p$ solutions $(x,y) \in \mathbb{F}_p^2$. Rename all the files within a folder with prefix “Unix_” i.e. suppose a folder has two files a.txt and b.pdf than they both should be renamed from a single command to Unix_a.txt and Unix_b.pdf